Results 1 to 2 of 2

Thread: Focus on a textarea should not select text by default

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium User
    Join Date
    May 2016
    Posts
    5

    Default Focus on a textarea should not select text by default

    Here is a simple example which show the bug:

    Ext.application({
    name : 'Fiddle',


    launch : function() {
    var my_textarea = Ext.create('Ext.form.field.TextArea', {
    renderTo: Ext.getBody(),
    value:"Hello everyone !!"
    });
    my_textarea.focus();
    }
    });

    As you can see the text is selected.

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. I see the issue you described, but it has been fixed for the next release. I'm not able to recreate using a recent nightly.

Similar Threads

  1. Copy Paste default Menu not coming in Text field & Textarea
    By vikashbbd in forum Sencha Touch 2.x: Q&A
    Replies: 7
    Last Post: 27 Aug 2013, 2:34 AM
  2. Default Button and focus on text field
    By BuckBazooka in forum Ext 2.x: Help & Discussion
    Replies: 10
    Last Post: 6 Aug 2012, 6:32 PM
  3. GXT Text Area default focus
    By ramnathlikesu in forum Community Discussion
    Replies: 2
    Last Post: 8 Sep 2011, 9:56 AM
  4. [SOLVED] HELP with default focus on text field
    By sonoro in forum Sencha Touch 1.x: Discussion
    Replies: 1
    Last Post: 30 Dec 2010, 3:48 AM
  5. do not select existing text in text field when focus via tab key
    By mjlecomte in forum Ext 2.x: Help & Discussion
    Replies: 2
    Last Post: 13 Jul 2008, 6:23 PM

Posting Permissions

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