Results 1 to 5 of 5

Thread: [6.5.2 Classic] Panel Tools should be focusable.

    You found a bug! We've classified it as EXTJS-26545 . We encourage you to continue the discussion and to find an acceptable workaround while we work on a permanent fix.
  1. #1
    Sencha Premium User vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    811

    Default [6.5.2 Classic] Panel Tools should be focusable.

    If panel tools are not focusable, like in 6.x then combo pickers are not closed or aligned properly when windows are maximized or minimized.

    Fiddle: https://fiddle.sencha.com/#view/editor&fiddle/290d

    Steps:
    1. Run the Fiddle
    2. Maximize window
    3. Click combo trigger so picker is shown.
    4. While picker is shown, minimize the window
    5. Notice how picker is still shown and not aligned or closed.

    Screen Shot 2017-10-30 at 10.17.25 AM.jpg

    Fix:

    Code:
    Ext.define(null,{
        override: 'Ext.panel.Tool',
    
    
        privates: {
            /**
             * @override The tools should be focusable.
             * This override removed preventDefault.
             * Fixes an issue with boxes not collapsing when a window goes from maximized to restored.
             * https://git.sumobrain.com/Acclaim/AcclaimUI/issues/700
             */
            onMouseDown: function(e) {
                // We prevent default action on mousedown to avoid focusing the tool.
                // This is consistent with tool behavior in versions prior to 5.5 where
                // tools were pointer-interactive only.
    
    
                //e.preventDefault(); // OVERRIDE
    
    
                if (this.disabled) {
                    return false;
                }
    
    
                this.el.addCls(this.toolPressedCls);
            }
        }
    });
    Github https://github.com/vadimpopa
    Blogging @ : http://vadimpopa.com
    Twitter: @vadimvpopa

  2. #2
    Sencha Staff
    Join Date
    Sep 2017
    Posts
    126

    Default

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

  3. #3
    Sencha Premium Member matei's Avatar
    Join Date
    Jun 2008
    Location
    Cluj-Napoca
    Posts
    83

    Default

    Any updates on this bug? is still present in extjs 6.6.0
    we have similar problems but the app brakes. in my case the content is a editable grid with other problems:

    - Edit a value and Maximize or Restore the window - will not save the value.
    - Closing the window with editor open will throw an error in console:
    ext-all-debug.js:40177 Uncaught DOMException: Failed to execute 'appendChild' on 'Node': The node to be removed is no longer a child of this node. Perhaps it was moved in a 'blur' event handler?


  4. #4
    Sencha Premium User vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    811

    Default

    I don't expect them to fix it anytime soon, curious mate, why you guys upgraded to 6.6.0, imo it has more issues than 6.5.2.
    Github https://github.com/vadimpopa
    Blogging @ : http://vadimpopa.com
    Twitter: @vadimvpopa

  5. #5
    Sencha Premium Member matei's Avatar
    Join Date
    Jun 2008
    Location
    Cluj-Napoca
    Posts
    83

    Default

    well we had 6.0.2 just hopping we don't get more bugs than we had

Similar Threads

  1. [FIXED] Documentation Error - ExtJS 6.2.0 - Classic Toolkit - Ext.calendar.panel.Panel
    By LarryHagood_YCMD in forum Ext JS 6.x Bugs
    Replies: 2
    Last Post: 13 Oct 2016, 12:47 PM
  2. [FIXED] Documentation Error - ExtJS 6.2.0 - Classic Toolkit - Ext.calendar.panel.Panel
    By LarryHagood_YCMD in forum Sencha Documentation
    Replies: 1
    Last Post: 13 Oct 2016, 11:25 AM
  3. Replies: 5
    Last Post: 9 Dec 2014, 9:42 PM
  4. Replies: 9
    Last Post: 17 Jun 2013, 12:05 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
  •