W3C home > Mailing lists > Public > public-css-archive@w3.org > November 2020

[csswg-drafts] [css-overflow] [css-transform] Should transformation affect the scroll direction via touchpads/touchscreens? (#5733)

From: Kagami Sascha Rosylight via GitHub <sysbot+gh@w3.org>
Date: Tue, 17 Nov 2020 22:18:12 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-745129280-1605651491-sysbot+gh@w3.org>
saschanaz has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow] [css-transform] Should transformation affect the scroll direction via touchpads/touchscreens? ==
* Example: https://codepen.io/SaschaNaz/full/XWKQMXg
* Gecko bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1677583
* Chromium bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1139881

Gecko and Blink agree what should happen for mouse wheels (they follow logical direction, so scroll-up action always decreases scrollTop value), but their behavior differ for touchpads/touchscreens.

Gecko always follows visual direction for both touchpad and touchscreen, so swiping up always scrolls down in visual direction regardless of transformation. Blink follows logical direction for touchpads so the direction flips visually based on transformation, while it follows visual direction for touchscreens (while it's buggy and not consistent).

It seems no spec defines what should occur here, even for mouse wheels.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5733 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Tuesday, 17 November 2020 22:18:14 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:22 UTC