-
-
Notifications
You must be signed in to change notification settings - Fork 32.1k
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
[Slider][base][material][joy] Fix not draggable on the edge when disableSwap={true}
#35998
Merged
Merged
Changes from 13 commits
Commits
Show all changes
20 commits
Select commit
Hold shift + click to select a range
d691d05
[Slider] Fix Slider not draggable on disableSwap
sai6855 b7cd1bb
lint
sai6855 fd76a9f
slider base
sai6855 8e83e78
lint
sai6855 2e8d009
moved pointer-events logic to useSlider
sai6855 94285bd
logic change
sai6855 6464a96
prettier
sai6855 19e9e0c
trigger ci
sai6855 f4e556e
added comments
sai6855 649ac11
Merge branch 'master' into slider-drag
sai6855 9533d40
fixed merge conflict
sai6855 514cee9
Merge branch 'master' into slider-drag
sai6855 dc9f1c8
add thumbProps style
sai6855 d6776cf
Merge branch 'master' into slider-drag
sai6855 762983c
Merge branch 'master' into slider-drag
sai6855 9ab87f0
add getthumbstyle function to return value
sai6855 e2b6014
remove useless files
sai6855 0c1ec08
add comment
sai6855 d502130
prettier
sai6855 0bfb2eb
Merge branch 'master' into slider-drag
ZeeshanTamboli 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 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 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 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
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.
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.
Why is this logic not inside
getThumbProps()
of useSlider? It seems that we have to fix 3 different places at the same time.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.
moved logic to
getThumbProps
but couldn't correctly typethumbProps
hence had to use @ts-ignore.https://github.com/mui/material-ui/pull/35998/files#diff-10ce33fc17ee7c4c1c1ec9123c97682153eef706ec3eaf1162827687bae42869R285