[FIXED] [#890] [3.3] SelectOnFocus doesn't work in Chrome

  1. #1

    [FIXED] [#890] [3.3] SelectOnFocus doesn't work in Chrome


    SelectOnFocus(true) doesn't work in Chrome. In Firefox all fine.
    Last edited by Daniil; Sep 07, 2015 at 1:40 PM. Reason: [FIXED] [#890] [3.3]
  2. #2
    Hi Yury,

    Thank you for the report! Logged in GitBug:

    It also doesn't work in IE10 and Safari. I didn't test others. Here is a test case.

    Test Case
    <%@ Page Language="C#" %>
    <!DOCTYPE html>
    <head runat="server">
        <title>Ext.NET v3 Example</title>
        <form runat="server">
            <ext:ResourceManager runat="server" />
            <ext:TextField runat="server" Text="Some text" SelectOnFocus="true" />
    Found this Sencha bug report which is marked as fixed in ExtjS 5.1.2. So, the fix will come to Ext.NET with the next ExtJS upgrade.

    Before the fix comes I can recommend this solution:
    <ext:TextField runat="server" Text="Some text">
            <Focus Handler="this.inputEl.dom.select();" Delay="1" />
  3. #3
    Okay, I decided to fix it in Ext.NET before ExtJS 5.1.2 upgrade.

    The fix has been committed in the revision 6558 (trunk). It goes to the 3.3 release.
    Last edited by Daniil; Jan 11, 2016 at 3:21 PM.

Similar Threads

  1. [CLOSED] The property isUpload: true does not work in google chrome
    By Gisystems in forum 1.x Legacy Premium Help
    Replies: 1
    Last Post: Sep 04, 2014, 9:52 AM
  2. [CLOSED] Editable Plugin doesn't work with Chrome
    By anup in forum 1.x Legacy Premium Help
    Replies: 7
    Last Post: Jul 03, 2013, 4:37 AM
  3. Replies: 1
    Last Post: Apr 16, 2013, 10:10 AM
  4. Replies: 5
    Last Post: Oct 17, 2012, 4:55 AM
  5. Replies: 4
    Last Post: Aug 31, 2009, 12:10 PM

Posting Permissions