Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip returning the snap target if the scroll-snap-type on the axis is…
… `none`. If we return the snap target in such cases, even though the target position is unchanged from the original scroll destination, the target will be handled as a valid last-snapped target element, thus we will try to re-snap to the element's scroll-snap-align position rather than keeping the scroll position as it is. Differential Revision: https://phabricator.services.mozilla.com/D152353 bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=1780154 gecko-commit: 68caee424b216d4241d3635748b288723952781e gecko-reviewers: botond
- Loading branch information