Results 1 to 6 of 6

Thread: textfield selectOnFocus doesn't work properly

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-18034 in 5.1.3.
  1. #1
    Sencha User
    Join Date
    Oct 2013
    Posts
    56
    Vote Rating
    3
      0  

    Default 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

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      0  

    Default

    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?

  3. #3
    Sencha User
    Join Date
    Oct 2013
    Posts
    56
    Vote Rating
    3
      0  

    Default

    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.

  4. #4
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      0  

    Default

    Thanks for the report! I have opened a bug in our bug tracker.

  5. #5
    Sencha User Daniil's Avatar
    Join Date
    Jun 2010
    Location
    Saint-Petersburg, Russia
    Posts
    1,018
    Vote Rating
    125
      0  

    Default

    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.
    Object.NET
    Frameworks and Tools for .NET Developers
    --------------------------------------------------
    Ext.NET - Ext JS for ASP.NET - Examples | Twitter
    Bridge.NET - Write C#. Run JavaScript! - Live | Twitter
    --------------------------------------------------

  6. #6
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985
    Vote Rating
    296
      1  

    Default

    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.

Similar Threads

  1. [FIXED] setMargin() doesn't work properly
    By lagnat in forum Ext 5: Bugs
    Replies: 5
    Last Post: 11 Nov 2014, 2:35 PM
  2. itemtap doesn't work properly
    By GertBoers in forum Sencha Touch 1.x: Q&A
    Replies: 2
    Last Post: 12 Oct 2011, 12:09 AM
  3. [INFOREQ] property "selectOnFocus" doesn't work with focus()
    By johnnywengluu in forum Ext:Bugs
    Replies: 2
    Last Post: 8 Sep 2011, 10:25 AM
  4. Replies: 6
    Last Post: 11 Dec 2009, 3:40 AM
  5. Replies: 2
    Last Post: 13 Jun 2008, 7:12 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •