Results 1 to 3 of 3

Thread: BUG: Cell editor doesn't blur when clicking button. (Edge only) Fiddle inside,

    You found a bug! We've classified it as EXTJS-25650 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1

    Join Date
    Sep 2007
    Location
    Sweden
    Posts
    210

    Exclamation BUG: Cell editor doesn't blur when clicking button. (Edge only) Fiddle inside,

    Ext version tested:

    • Ext 6.x Classic all versions



    Browser versions tested against:

    • Microsoft Edge
    • Chrome
    • IE 11


    Description:

    • When cell editor is activated and the user clicks a button directly (typically to save), the cell editor is not closed as in other browsers. A save at this point would not include last changes. This only happens in Edge browser



    Steps to reproduce the problem:

    • In this fiddle https://fiddle.sencha.com/#view/editor&fiddle/21ke click the cell and then click save button. Cell editor is still open in Edge. All other browsers would have caused the cell editor to blur and register changes in the cell. However clicking in the toolbar outside the button causes the cell editor to blur.



    The result that was expected:

    • Cell editor should blur in Edge whenb clicking anywhere outside the cell as in other browsers

  2. #2
    Sencha - Support Team
    Join Date
    Oct 2011
    Posts
    4,108

    Default

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

  3. #3

    Default onMouseDown overirde will fix the issue

    We had the similar issue and the below override fixed the issue.

    override:'Ext.button.Button',
    onMouseDown:
    function (e){
    var me = this;
    if ((Ext.isIE || Ext.isEdge) || e.pointerType === 'touch') {
    Ext.defer(function () {

    if (!e.defaultPrevented) {
    var focusEl = me.getFocusEl();
    if (focusEl)
    {
    focusEl.focus();
    }
    }}
    , 1);
    }

    if (!me.disabled && e.button === 0) {

    Ext.button.Manager.onButtonMousedown(me, e);
    me.addCls(me._pressedCls);
    }
    }

Similar Threads

  1. FieldContainer Blur Event - When clicking out of the editor.
    By Vasanthoo7 in forum Sencha Ext JS Q&A
    Replies: 1
    Last Post: 15 Feb 2014, 3:10 PM
  2. Replies: 2
    Last Post: 10 Apr 2012, 11:53 PM
  3. Replies: 6
    Last Post: 23 Mar 2012, 8:20 AM
  4. Editor cell's value clears when clicking the cell
    By dana.lees in forum Sencha Ext JS Q&A
    Replies: 11
    Last Post: 15 Aug 2011, 8:54 PM
  5. Replies: 2
    Last Post: 9 Sep 2010, 10:46 PM

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
  •