Results 1 to 10 of 10

Thread: 5.1.1 Nightly: Mouse scroller on Firefox just move some millimeters the grid

    Success! Looks like we've fixed this one. According to our records the fix was applied for EXTJS-15892 in 6.0.0.415.
  1. #1
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,294

    Default 5.1.1 Nightly: Mouse scroller on Firefox just move some millimeters the grid

    See west panel of Fiddle: https://fiddle.sencha.com/#fiddle/el2

    If you use a mouse scroller, usually between left and right button, in all other browser, we can move the grid vertical scroll enough to see new row, but on Firefox it's only moving the grid slightly.

    Can also reproduce with official Sencha Example at: http://dev.sencha.com/ext/5.1.0/exam...hdrs-grid.html

  2. #2
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    Thanks for the report. We're tracking this issue as EXTJS-15892.

  3. #3
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,294

    Default

    We have Sencha support ticket 21018 for this since January 5th, 2015.

  4. #4
    Sencha Premium Member dolev's Avatar
    Join Date
    Feb 2015
    Location
    Israel
    Posts
    114

    Default I just reported about that too

    for the second time already. it's even worse with Hebrew

  5. #5
    Sencha User
    Join Date
    Feb 2013
    Location
    California
    Posts
    11,985

    Default

    This bug has been fixed, but hasn't been merged yet.

  6. #6
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    4

    Default

    Possible workaround (untill official patch will be released):

    Code:
     Ext.define('Ext.overrides.scroll.Scroller', {
                override: 'Ext.scroll.Scroller',
                privates:{
                    onPartnerScroll: function(partner, x, y) {
                        var axis = partner._partners[this.getId()].axis;
                        var position = this.getPosition();
    
    
                        if (axis) {
                            if (axis === 'x') {
                                if(x === position.x){
                                    return;
                                }
                                y = null;
                            } else if (axis === 'y') {
                                if(y === position.y){
                                    return;
                                }
                                x = null;
                            }
                        }
    
    
                        this.doScrollTo(x, y, null, true);
                    }
                }
            });

  7. #7
    Sencha Premium User SebTardif's Avatar
    Join Date
    Feb 2011
    Location
    Cambridge, MA
    Posts
    1,294

    Default

    Quote Originally Posted by [email protected] View Post
    Possible workaround (untill official patch will be released)
    Should this be conditional to detect Firefox?

  8. #8
    Sencha Premium Member
    Join Date
    Jun 2014
    Posts
    4

    Default

    It should work on all browsers (I tested it on Chrome, IE 11/10 and Firefox).

  9. #9

    Default

    Quote Originally Posted by [email protected] View Post
    Possible workaround (untill official patch will be released):
    I recently inherited support for an application that uses 4.1.1 where this issue persists. I attempted to use this 'workaround', but with no success.

    There is no 'Ext.scroll.Scroller' defined. What version did you base this workaround for?

  10. #10
    Sencha User
    Join Date
    Jan 2012
    Location
    Kansas
    Posts
    11

    Default

    Quote Originally Posted by curtis fraser View Post
    What version did you base this workaround for?
    This thread is in the Ext 5 forum so it is safe to assume the workaround was only for Ext 5.
    I have not seen an override posted for Ext 4.

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
  •