Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Set
TriggerByScript
to AnchorScrollFlags to ignore scroll anchor ad…
…justments during (smooth) scrolling to anchor. Since bug 1789930 we have allowed scroll anchor adjustments during scroll operations by user. To tell whether the given scroll operation is done by user or by script, we introduced ScrollFlags::TriggerByScript. Though scrolling to anchor is kinda user triggered scroll operation, it would make sense to not allow scroll anchor adjustments during scrolling to anchor. Differential Revision: https://phabricator.services.mozilla.com/D224284 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1918906 gecko-commit: 0459776a6383546827e8541382bdab1d43ab23a7 gecko-reviewers: botond
- Loading branch information