arrow-down arrow at-sign bug check checkbox-checked checkbox-unchecked svg-checkmark chevron-right chevrons-right circle-down circle-left circle-right circle-up cloud2 svg-cross2 download download external-link filter github hash home leaf leaf left link-2 log-in log-out mail menu message-square minus plus radio-checked radio-checked2 radio-unchecked search settings spinner8 target twitter up upload-2 user users warning x zap
  • Home
  • Report a bug
  • Contribute
  • All issues
  • Login

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 ❤️

Please login to edit issues.

View issue on Github

Shortcut: Press l on your keyboard to open the label editor. Shortcut: Press g on your keyboard to be taken to the GitHub view of this page.
Closed: Duplicate
#9065

docs.google.com - Comments can't be scrolled with a trackpad, in Firefox only

Opened: 2017-08-18
Reporter: floatingatoll
Comments: 4
  • Home
  • List of issues
  • About
  • Contribute
  • Contact
  • Privacy Policy
  • Terms of Service
  • Code of Conduct