Scroll-snap event fires scrollend twice on release
Categories
(Core :: Layout: Scrolling and Overflow, enhancement)
Tracking
()
People
(Reporter: github, Unassigned)
Details
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:125.0) Gecko/20100101 Firefox/125.0
Steps to reproduce:
Assuming we scroll divs in a div.
A handler for on-scroll-end indicate the end of the scrolling.
Using that handler you can calculate what div is choosen.
Actual results:
The on-scroll-end handler fires twice.
- It fires that the user-interaction has ended.
- It fires when the alignment-animation finished.
It is not possible to differ between those two events.
Expected results:
Only one the handler should fire on the end of the scroll-animation.
Comment 1•1 year ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::Layout: Scrolling and Overflow' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Updated•1 year ago
|
Updated•1 year ago
|
Comment 2•1 year ago
|
||
Could you please attach an example HTML page demonstrating the issue?
Comment 3•1 year ago
|
||
I think this may have been fixed in Nightly by https://phabricator.services.mozilla.com/D212344, but a test page will be helpful to confirm this.
Comment 4•1 year ago
|
||
I'm going to tentatively close this as fixed by bug 1900241. If you're still experiencing the issue in nightly, please feel free to reopen with a testcase and we'll continue to investigate.
Description
•