sandstone
sandstone copied to clipboard
WRQ-9536: Fix scrolling by wheel to scroll smoothly
Checklist
- [x] I have read and understand the contribution guide
- [ ] A CHANGELOG entry is included
- [ ] At least one test case is included for this feature or bug fix
- [x] Documentation was added or is not needed
- [ ] This is an API breaking change
Issue Resolved / Feature Added
Scroller and VirtualList should show smooth scrolling by wheel with animation but I found scrolling by wheel shows not smooth like before.
Resolution
In scroll handler function, we have code to scroll smoothly with animation.
It runs when delta
value is not 0 but default delta
is 0 now in native wheel handler.
So I set default delta
value to show animation.
Default delta
value is came from calculated delta
of the case when event target is out of scroll content.
Additional Considerations
Links
WRQ-9536
Comments
Enact-DCO-1.0-Signed-off-by: Jiye Kim ([email protected])