viktorthang / mgwt

Automatically exported from code.google.com/p/mgwt
Other
0 stars 0 forks source link

Fire scroll event, only if enable #299

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.setScrollingEnabledX(false)
2.add handler to scrollMove
3.scrollMoveEvent was fired on touch horizontal swipe

I implement like that in ScrollPanelImpl:

private void move(TouchMoveEvent event) {
..
    if( (this.dirX != 0 && isScrollingEnabledX()) || (this.dirY != 0 && isScrollingEnabledY())) {
        fireEvent(new ScrollMoveEvent(event));
    }
}

Original issue reported on code.google.com by b.mouch...@gmail.com on 6 May 2013 at 12:20

GoogleCodeExporter commented 8 years ago
Thanks for reporting, issue moved to: https://github.com/mgwt/mgwt/issues/9

Original comment by kurka.da...@gmail.com on 13 Jul 2014 at 5:07