-
Notifications
You must be signed in to change notification settings - Fork 1.2k
fix(#2659): useSliderThumb: fire onChangeEnd for PageUp/PageDown/Home/End #2661
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, tested locally and verified the behavior with the slider hooks story. For those who noticed that the Slider stories don't have a onChangeEnd that fires, that is a story issue, it's missing a onChangeEnd storybook action
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, tested Slider, RangeSlider, and Slider (hooks) stories.
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, verified that onChangeEnd fires now even if the values haven't change (aka interactions at either extremes of the slider) Other interactions seem to work as expected still and pageSize is properly respected when set
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
Build successful! 🎉 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, slider step/page step still works as expected, same with PgUp/Down/Home/End
Build successful! 🎉 |
Build successful! 🎉 |
…/Home/End (adobe#2661) * useSliderThumb: fire onChangeEnd for PageUp/PageDown/Home/End * fix(adobe#2659): add onChangeEnd event handler to Slider/RangeSlider stories Per adobe#2661 (review) * Have slider work like color area (adobe#2819) * Match Slider implementation to color area * fix lint * make step optional with a default * add pagesize * Use native slider pagesize calculation * @trivial remove irrelevant comment and use the declared variable for direction === 'rtl' Co-authored-by: Michael Jordan <[email protected]> * fix(adobe#2659): add pageSize stories * simplify slider move logic * a little more cleanup Co-authored-by: Daniel Lu <[email protected]> Co-authored-by: Robert Snow <[email protected]> Co-authored-by: Daniel Lu <[email protected]>
Closes #2659
✅ Pull Request Checklist:
📝 Test Instructions:
🧢 Your Project:
Adobe/Accessibility