-
Notifications
You must be signed in to change notification settings - Fork 3.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
unable to scroll page when mouse pointer is over handsontable #383
Comments
+1 on Lenovo touchpad 2-finger scroll doesn't scroll the page when hovering over the table even if handsontable doesn't have scroll bar. |
It is same if you use mouse scroll. But it scrolls table itself. But I didn't checked if it scrolls page, if table is small enaugh not to be scrolled. Maybe there could be option, how table should react to mouse scrolling. |
+1 same problem here. Used in chrome, windows 7; scroll wheel and touch pad the page doesn't scroll. The table is ok. |
I have the same problem. Is there no solution to this problem? |
+1 |
+1 this is a big pain point for us as well. The only solution (really a hack) I have found is to disable the mousewheel event listener all together by pulling it out of the handsontable source. |
I can't reproduce it via my track pad in MBP in example from: http://handsontable.com/index.html |
Yes, the problem occurs there as well. |
Could you send your environment specification (browser, OS)? |
Sorry. Chrome 26 on Windows 7 using a common Logitech mouse with wheel. |
+1 I have exactly the same problem. As @gruppler says, it also happends in the link example @codename- posted. This did not happend with version Tested over the following browsers for Windows 7:
|
I can reproduce it on my Mac only in Chrome and Safari. So it seams to be related with webkit engine. In Firefox it's working fine for me. |
@codename- I haven't tried it on Mac, I will try it at night, but I am testing it in Firefox 20.0.1 over Windows 7 and it doesn't scroll with the scrolling wheel of the mouse, which is quite annoying using a large and full width table. My table doesn't have a scroll bar. Similar as the one in the example which doesn't scroll either. |
As @go1dfish says, it works well just deleting the I changed this: //line 7821
$.event.special.mousewheel = {
setup: function() {
if ( this.addEventListener ) {
for ( var i=types.length; i; ) {
this.addEventListener( types[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
},
teardown: function() {
if ( this.removeEventListener ) {
for ( var i=types.length; i; ) {
this.removeEventListener( types[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
}
}; For this $.event.special.mousewheel = {
setup: function() {
/********** changes here ***********
if ( this.addEventListener ) {
for ( var i=types.length; i; ) {
this.addEventListener( types[--i], handler, false );
}
} else {
this.onmousewheel = handler;
}
*************************************/
},
teardown: function() {
if ( this.removeEventListener ) {
for ( var i=types.length; i; ) {
this.removeEventListener( types[--i], handler, false );
}
} else {
this.onmousewheel = null;
}
}
}; |
+1 need this |
This is fixed now in 0.9.2. Please upgrade and let me know how it works for you. Sorry for the delay! |
I cannot confirm this on another computer, but on my MacBook Pro, two-finger scrolling will not engage when hovering over the table. Can anyone with a real mouse confirm/deny this issue?
The text was updated successfully, but these errors were encountered: