Success! Looks like we've fixed this one. According to our records the fix was applied for
EXTJS-18034
in
5.1.3.
-
Sencha User
textfield selectOnFocus doesn't work properly
https://fiddle.sencha.com/#fiddle/nsm
textfield with selectOnFocus:true doesn't work properly, selection disappears at once.
Last edited by Leshicus; 2 Jun 2015 at 6:08 AM.
Reason: change fiddle adress
-
Thanks for the report. This test case has a tagfield and doesn't have selectOnFocus set. Looking at the Fiddle title, perhaps you've included a different one?
-
Sencha User
I'm sorry, now it's correct. As well, there's different behaviour in firefox and chrome. In firefox to reproduce an issue you have to click alternately to textfield and somewhere outside.
-
Thanks for the report! I have opened a bug in our bug tracker.
-
I see it is marked as fixed in ExtJS 5.1.2, but the fiddle still reproduces the problem in IE10 with ExtJS 6.0.1. Either the fix has not been moved properly to ExtJS 6.0.1 from ExtJS 5.1.2 or it has not been fixed for IE10 at all. There is a JavaScript I didn't test with ExtJS 5.1.2 itself. As well, I didn't test in IE11. In Chrome, Firefox and Safary all is good.
-
I tested with IE10 and this issue is fixed. The ticket did indeed say it was fixed in 5.1.2, but it is actually 5.1.3. I believe this is due to a second code being needed to completely fix this. I updated the ticket. Similarly, I do see the issue in 6.0.1, but it is fixed in recent nightlies.