Results 1 to 2 of 2

Thread: [6.2.1.167] Component resizer is buggy sporadically

    Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    810
    Vote Rating
    70
      0  

    Default [6.2.1.167] Component resizer is buggy sporadically

    In below fiddle the Resizer is used without a splitter in a Border layout. When the user clicks on the panel header just to preview the panel content, and then tries to resize that panel (the panel is in preview/slide in mode always ), sometimes the resizer is messing the content by detaching the panel from the header. Sometimes it just stuck expanded.

    Note that these issues don't happen when the panel is expanded (when is not in preview/float mode ).

    https://fiddle.sencha.com/#view/editor&fiddle/1oe2

    resize.gif


    I've been trying to disable the resizer while it's in preview mode, and enable it only when is expanded. Below code works fine, the resizer is disabled, but while trying to resize the panel, and releasing the mouse the window resize itself, which it shouldn't. If I change the resizable config on the window to false (thus disable it on the window) then it's ok, everything works as expected.

    Code:
    {
                    title: 'South Region is resizable',
                    region: 'east', // position for region
                    xtype: 'panel',
                    width: 100,
                    resizable: true,
                    collapsible: true,
                    border: true,
                    resizable: {
                        disabled: true,
                        handles: 'w'
                    },
                    listeners: {
                        beforecollapse: function (cmp) {
                            if (cmp.resizer) {
                                cmp.resizer.disable();
                            }
                        },
                        beforeexpand: function (cmp) {
                            if (cmp.resizer) {
                                cmp.resizer.enable();
                            }
                        }
                    }
                }
    resize-window.gif
    Github https://github.com/vadimpopa
    Blogging @ : http://vadimpopa.com
    Twitter: @vadimvpopa

  2. #2
    Sencha Premium Member vadimv's Avatar
    Join Date
    Sep 2010
    Location
    Cluj, Romania
    Posts
    810
    Vote Rating
    70
      0  

    Default

    So we've fixed this behavior with other solution. Below css will disable the resizer for slide in/preview mode, while having it enabled when the panel is expanded.

    Code:
    .#{$prefix}border-region-slide-in .#{$prefix}resizable-handle-west {
      z-index: -1000;
    }
    Github https://github.com/vadimpopa
    Blogging @ : http://vadimpopa.com
    Twitter: @vadimvpopa

Similar Threads

  1. Replies: 2
    Last Post: 19 Jul 2016, 12:37 AM
  2. Replies: 6
    Last Post: 19 Nov 2012, 11:35 AM
  3. [FIXED] Component resizer cannot work normally.
    By chenjie100 in forum Ext:Bugs
    Replies: 1
    Last Post: 15 Apr 2012, 3:50 AM
  4. Replies: 2
    Last Post: 10 Feb 2012, 8:00 AM
  5. Tree Nodes fail to load children sporadically
    By jove4015 in forum Ext 2.x: Help & Discussion
    Replies: 20
    Last Post: 6 Aug 2008, 2:38 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
  •