-
Notifications
You must be signed in to change notification settings - Fork 93
feat: implement slider and range-slider pointer events support #10966
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
ed400ed
feat: implement slider and range-slider pointer events support
web-padawan 7b45a0a
fix: only handle pointer events on thumb or track parts
web-padawan 345b724
fix: improve logic for part detection and tests
web-padawan 61a87f3
refactor: apply review suggestion
web-padawan 611cff6
test: merge assertions in change events tests
web-padawan 26295d3
refactor: add listeners on the slider, test pointer capture
web-padawan f69f2ae
refactor: only use __thumbIndex for pointermove events
web-padawan d68d37f
chore: add missing newline
web-padawan 9b8b175
fix: get thumb index when clicking outside the track
web-padawan 73f962c
decompose __applyValue method
vursen b3bf96f
refactor: do not focus on mousedown on blank space
web-padawan de12d88
fix: only fire change event on track pointerup
web-padawan a7ddf5f
Update packages/slider/test/slider.test.ts
web-padawan b78feee
refactor: move mousedown listener to the mixin
web-padawan 8e2cdb4
fix: always use first or second thumb at the min or max
web-padawan 24bb469
fix: make value update logic work properly
web-padawan fff6a64
fix: handle negative min value correctly
web-padawan c023198
fix: ignore pointerdown when right mouse button pressed
web-padawan ac5b5f1
chore: fix JSDoc comments
web-padawan File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.