Results 1 to 3 of 3

Thread: [FIXED][3.0RC1.1] DataView LabelEditor bug on Chrome, Opera, Safari and Firefox

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Ext JS Premium Member hanne's Avatar
    Join Date
    May 2009
    Posts
    42

    Default [FIXED] [3.0RC1.1] DataView LabelEditor bug on Chrome, Opera, Safari and Firefox

    In this example, try this:


    1. click on the text below one of the items to make the label editor pop up
    2. now click on another item or in the DataView whitespace to 'deselect' and make the editor disappear


    This scenario works on IE, but not on Chrome, Opera, Safari and Firefox. On the latter browsers the text field won't blur and just stays where it is while the user is selecting other items.

  2. #2
    Ext JS Premium Member hanne's Avatar
    Join Date
    May 2009
    Posts
    42

    Default

    I've modded the Ext.DataView.LabelEditor.initEditor function to fix this:

    Code:
        initEditor: function() {
            this.view.on({ 'click': function() { this.field.blur(); }, scope: this });
            this.view.on({ 'containerclick': function() { this.field.blur(); }, scope: this });
            this.view.getEl().on('mousedown', this.onMouseDown, this, { delegate: this.labelSelector });
        }

  3. #3
    Sencha Premium User evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    19,256

    Default

    Fixed in SVN.
    Twitter - @evantrimboli
    Former Sencha framework engineer, available for consulting.
    As of 2017-09-22 I am not employed by Sencha, all subsequent posts are my own and do not represent Sencha in any way.

Posting Permissions

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