-
Notifications
You must be signed in to change notification settings - Fork 86
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: broken
min
and max
attributes in Slider and more
* simplified inner logic (less code, removed a few @State props that were triggering extra renders) * min and max attributes works as expected * added unit attribute to change the default "%" or leave it out * added decimals attribute to control how many decimals to show (0, 1 or 2) * added the scaleInput event, that fires on every input change, and changed scaleChange event to fire only when user input stops (native-like) * updated tests and snapshots
- Loading branch information
Arturo Castillo Delgado
authored
May 19, 2021
1 parent
06e8e2c
commit 66543d0
Showing
5 changed files
with
183 additions
and
120 deletions.
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
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
Oops, something went wrong.