-
-
Notifications
You must be signed in to change notification settings - Fork 1k
[General] Update button's animation duration props #4046
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
42 commits
Select commit
Hold shift + click to select a range
48d5421
Revert contents-based button
j-piasecki feeed9a
Handle missing styles in button
j-piasecki 77edca6
Don't use 0 as "not set"
j-piasecki e720518
Add catch-all to overflow setter
j-piasecki dc65f05
Clamp values
j-piasecki b8f3c25
Update prop priority and defaults
j-piasecki dbbd398
Clip Android to paddingbox
j-piasecki 533ad6c
Clip iOS to paddingbox
j-piasecki b8f3f41
Clip underlay on macos
j-piasecki ad0881b
Fix coordinates on macos
j-piasecki c433764
Flip coordinate space
j-piasecki 53cf70f
Add example
j-piasecki 5fc983a
Remove redundant clipping
j-piasecki 92852e3
Disable ripple
j-piasecki c197d85
Format
j-piasecki 8bceb77
Add minimumAnimationDuration prop
j-piasecki b40c70d
Merge branch 'main' into @jpiasecki/refactor-button
j-piasecki 16805c8
Merge branch '@jpiasecki/refactor-button' into @jpiasecki/add-minimum…
j-piasecki c571692
Update minimumAnimationDuration behavior
j-piasecki af7ea63
Fallback to animationDuration to minimumAnimationDuration
j-piasecki 2d09358
Rename props
j-piasecki 0522f2f
Fix macos build
j-piasecki f564653
Update example
j-piasecki fdcc8cc
Update jsdoc
j-piasecki 2142a8c
Always cancel scheduled press out
j-piasecki eafff80
Use performance.now
j-piasecki f2321f5
Merge branch 'main' into @jpiasecki/refactor-button
j-piasecki ef19e02
Fix borderless ripple
j-piasecki 80bea36
Apply the resting state correctly
j-piasecki 8cd97a9
Merge branch '@jpiasecki/refactor-button' into @jpiasecki/add-minimum…
j-piasecki dd16d57
Use longs for timers
j-piasecki f4ba9a5
Remove pending animations on unmount
j-piasecki 998e28a
Merge branch 'main' into @jpiasecki/add-minimum-animation-duration
j-piasecki b5b538d
Fix merge
j-piasecki 6b22041
Restore braces
j-piasecki 77a19b3
Fix macos
j-piasecki db0ab3e
Keep tapAnimationDuration positive
j-piasecki d7767e5
Check if presentation layer exists
j-piasecki 2f785a0
Keep tapAnimationDuration positive on iOS
j-piasecki 8726b2c
Keep tapAnimationDuration positive on web
j-piasecki dccd561
Extract common method
j-piasecki 453b5cb
Update comment
j-piasecki 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
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.
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.