URL: https://docs.google.com/
Browser / Version: Firefox 57
Operating System: Mac OS X 10.12.6
Tested Another Browser: Yes
Problem type: Something else
Description: Comments can't be scrolled with a trackpad, in Firefox only
Steps to Reproduce:
Steps to reproduce as per [0]:
To reproduce this, create a small Google Sheet (delete all but 3 columns and 10 rows), add a Comment to any cell, and then reply to the comment several times. It will eventually be so long that a scrollbar is introduced.
In Firefox, attempting to scroll that conversation is impossible by any means other than clicking and dragging the scroller.
In Chrome, scrolling the conversation simply requires moving the pointer over the conversation and then scrolling as normal with the trackpad.
...
It looks like they're listening for wheel events, which get preventDefault()ed in the p.s_b function in script [1]. This seems to be because they want to manually handle the scrolling of the element in the same function.
However, p.s_b seems to be incorrectly changing the wheel deltas {x:0,y:-3} to {x:0,y:-0} and then sending those to (what seems to be) the actual function to scroll the element, y0a. But even when I hack y0a to force-try to scroll by bypassing its guards, it doesn't accept the value {x:0,y:-3} (I get a page error) and the value {x:0,y:3} doesn't end up scrolling anything.
I also note that if I comment out the preventDefault in p.s_b, then Firefox does scroll. Indeed Chrome gets a different script version [2] which doesn't preventDefault either (the wheel listener doesn't appear to be triggered at all in that version). But I can't UA spoof to Chrome, or I get a vague page error popup. So I'm at a loss.
[0] https://bugzilla.mozilla.org/show_bug.cgi?id=1390580
[1] https://docs.google.com/static/spreadsheets2/client/js/295605113-ritz_waffle_integrated_i18n_core.js
[2] https://docs.google.com/static/spreadsheets2/client/js/3376631534-ritz_waffle_i18n_core.js
From webcompat.com with ❤️
URL: https://docs.google.com/
Browser / Version: Firefox 57
Operating System: Mac OS X 10.12.6
Tested Another Browser: Yes
Problem type: Something else
Description: Comments can't be scrolled with a trackpad, in Firefox only
Steps to Reproduce:
Steps to reproduce as per [0]:
To reproduce this, create a small Google Sheet (delete all but 3 columns and 10 rows), add a Comment to any cell, and then reply to the comment several times. It will eventually be so long that a scrollbar is introduced.
In Firefox, attempting to scroll that conversation is impossible by any means other than clicking and dragging the scroller.
In Chrome, scrolling the conversation simply requires moving the pointer over the conversation and then scrolling as normal with the trackpad.
...
It looks like they're listening for wheel events, which get preventDefault()ed in the p.s_b function in script [1]. This seems to be because they want to manually handle the scrolling of the element in the same function.
However, p.s_b seems to be incorrectly changing the wheel deltas {x:0,y:-3} to {x:0,y:-0} and then sending those to (what seems to be) the actual function to scroll the element, y0a. But even when I hack y0a to force-try to scroll by bypassing its guards, it doesn't accept the value {x:0,y:-3} (I get a page error) and the value {x:0,y:3} doesn't end up scrolling anything.
I also note that if I comment out the preventDefault in p.s_b, then Firefox does scroll. Indeed Chrome gets a different script version [2] which doesn't preventDefault either (the wheel listener doesn't appear to be triggered at all in that version). But I can't UA spoof to Chrome, or I get a vague page error popup. So I'm at a loss.
[0] https://bugzilla.mozilla.org/show_bug.cgi?id=1390580
[1] https://docs.google.com/static/spreadsheets2/client/js/295605113-ritz_waffle_integrated_i18n_core.js
[2] https://docs.google.com/static/spreadsheets2/client/js/3376631534-ritz_waffle_i18n_core.js
From webcompat.com with ❤️