8 Apr 2011 4:41 AM #1
[B2] [FIXED-EXTJSIV-671] GridPanel swallows scroll event
I have a grid on a page. The grid's scrollbar is not shown, since the records fit inside the grid. The whole page has a scrollbar, since there is lots of other stuff on it. When I scroll my page it stops as soon as the cursor is above the grid.
It seems that the gridpanel "swallows" the scroll event, and calls EventObject.stopEvent/preventDefault at some time.
This is very annoying, and not very user friendly. In the Ext 3.x grids this didn't happen.
This might not be a bug, but if that's the case then it should definetely be possible to change via a config option.
8 Apr 2011 4:54 AM #2
I agree this is annoying too and I hope that it is related to the general bug that the grid cannot detect its height correctly. But this is definitely a bug not a feature.
8 Apr 2011 6:05 AM #3
I concur. Grids without a scrollbar should not capture scroll events.aka Seboss
8 Apr 2011 6:06 AM #4
8 Apr 2011 6:09 AM #5
Shouldn't they? Do you imply that grids should only be scrolled dragging the scrollbar or navigating the rows using the arrow keys? That goes a little too far if you ask me.aka Seboss
8 Apr 2011 6:45 AM #6
No, that's not what I meant.
Of course should they be scrolled. But they shouldn't swallow the scroll event. That is, if the grid reaches the bottom of it's scrolling area, and my mouse wheel is still scrolling, then the total page should be scrolled. Right now nothing happens. And this is a different behavior than in 3.x.
8 Apr 2011 7:03 AM #7
Ok, your proposition makes perfect sense, and I agree what you describe would be ideal.aka Seboss
8 Apr 2011 9:43 AM #8
This shouldn't be a problem in the next release. This was fixed with EXTJSIV-671.Aaron Conran
By mrdanger in forum Ext:BugsReplies: 1Last Post: 7 Apr 2011, 6:01 AM
By aghextjs in forum Ext:BugsReplies: 2Last Post: 4 Apr 2011, 12:20 PM
By James Goddard in forum Ext:BugsReplies: 2Last Post: 1 Apr 2011, 11:05 AM
By uzver in forum Ext:BugsReplies: 1Last Post: 23 Mar 2011, 9:14 AM
By allenyoung in forum Ext 1.x: Help & DiscussionReplies: 5Last Post: 17 Sep 2007, 2:53 AM