[TIMOB-16496] iOS: Blur event fires twice on TextField
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-02-23T16:41:42.000+0000 |
Affected Version/s | Release 3.2.1 |
Fix Version/s | Release 4.0.0 |
Components | iOS |
Labels | alloy, blur, event, qe-4.0.0, regression, sdk3 |
Reporter | Roni Cohen |
Assignee | Vishal Duggal |
Created | 2014-02-23T21:37:51.000+0000 |
Updated | 2015-03-05T22:53:35.000+0000 |
Description
Here is the example XML:
<View class="row" top="-30px">
<TextField class="tikklrUploadTextField" layout="horizontal" id="tags" onBlur="tagsBlur" onFocus="uploadFocus" hintText="TAGS"/>
</View>
Moving this ticket to engineering as I can reproduce this issue with 3.2.1 but not with 3.2.0 release. Focus event fires only once as expected but Blur event fires twice with 3.2.1 but once with 3.2.0 release.
[~ragrawal] Is it possible to test this in 3.3.0? We believe it may be fixed.
[~Ingo] I also have this issue, its annoying as I'm validating text fields with regex and its displaying my alerts twice when validation fails. Tested on SDK: 3.3.0.RC, 3.2.3.GA, 3.2.2.GA -- same issue on all.
Issue reproduces Titanium Command-Line Interface, CLI version 3.3.0, Titanium SDK version 3.4.0.GA iOS SDK: 7.1 iOS iPhone Simulator: 7.1
Looks like the issue was caused by this PR: https://github.com/appcelerator/titanium_mobile/pull/5184 Since this was a fix for TIMOB-15967 which has been reopened, it would be good to fix both this ticket and TIMOB-15967 at the same time.
Pull pending master - https://github.com/appcelerator/titanium_mobile/pull/6656
Verified fixed, using: Titanium SDK 4.0.0.v20150303161012 Studio 4.0.0.201502171827 CLI 3.4.2-rc4 Xcode 6.2b5 Blur event only fires once