Disable APZ if AccessibleCaret is in position:sticky elements which stick to the root scroller on environments that the toolbar is dynamic
Categories
(Core :: DOM: Selection, task)
Tracking
()
People
(Reporter: hiro, Unassigned)
References
(Blocks 1 open bug)
Details
In bug 1526268, we disabled APZ for position:fixed elements, we also need the same hack for position:sticky elements, as far as I can tell.
Reporter | ||
Comment 1•5 years ago
|
||
Once caveat as of now is that position:sticky elements don't stick to the dynamic toolbar yet (bug 1594451), so you don't probably see any issues on GeckoView applications.
Reporter | ||
Updated•5 years ago
|
Updated•5 years ago
|
Comment 2•5 years ago
|
||
bug 1526268 was designed with position:sticky
in mind, but the solution is not perfect. See https://phabricator.services.mozilla.com/D51351?id=184974#inline-312215 for the rationale.
Hiro, if what describes in comment 1 becomes a reality, could you provide an STR or example so that we can fix this issue in a sensible manner?
Reporter | ||
Comment 3•5 years ago
|
||
Yeah, I can provide. But unfortunately it requires modified reference-browser (or Fenix). Anyway a STR is;
- Open https://www.theguardian.com/
- Select some text in a bottom banner about privacy
- Scroll down
To build the modified reference-browser;
- Clone https://github.com/mozilla-mobile/reference-browser
- Apply https://github.com/mozilla-mobile/reference-browser/pull/954 (this PR was merged once but backed out for unknown reasons unfortunately)
- Build reference-browser (I hope all you have to do is '/gradlew assembleGeckoNightly', but not 100% sure)
(In reply to Hiroyuki Ikezoe (:hiro) from comment #3)
- Open https://www.theguardian.com/
- Select some text in a bottom banner about privacy
- Scroll down
Hello. FYI, the steps may no longer work, because it was worked around: https://github.com/guardian/dotcom-rendering/pull/1978 (and one linked from there).
+1 for proper fix.
Updated•2 years ago
|
Description
•