-
Notifications
You must be signed in to change notification settings - Fork 1.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
IOS Material3 ripple increases button size on click #4924
Closed
alaegin opened this issue
Jun 4, 2024
· 3 comments
· Fixed by JetBrains/compose-multiplatform-core#1385
Closed
IOS Material3 ripple increases button size on click #4924
alaegin opened this issue
Jun 4, 2024
· 3 comments
· Fixed by JetBrains/compose-multiplatform-core#1385
Labels
Comments
Reproduced Screen.Recording.2024-06-04.at.17.10.42.mov |
The current workaround is to disable platform layers via ComposeUIViewController(
configure = { platformLayers = false }
) |
MatkovIvan
added a commit
to JetBrains/compose-multiplatform-core
that referenced
this issue
Jun 5, 2024
Correct version of reverted change #1285 Fixes JetBrains/compose-multiplatform#4924 ## Testing Manually, see #1190 This should be tested by QA ## Release Notes ### Fixes - Multiple Platforms - Fixed `Popup` jerking during ripple effect animation
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
Hello!
I use ModalBottomSheet from Material3 with Material3 Button inside. When I click on the edge of the button it changes it's size for several frames causing the whole container to resize, then it returns to the original size. If the click is executed to the center of the button then nothing happens. This behavior is valid only for a few clicks and then it's becomes better.
This issue is only valid for iOS. Exact the same steps doesn't do anything unexpected on Android.
Affected platforms
Versions
To Reproduce
Steps to reproduce the behavior:
I tried to replace the Button with the same-size Box and add a
clickable
modifier and it works the same way. (bug repeats)But, if I add
bounded = false
to the ripple, the bug is gone.Also, If I remove
fillMaxWidth
modifier from the button and make the width less than the available space then the issue is gone.Expected behavior
Button doesn't change it's size when the ripple effect is being drawn.
Screenshots
RPReplay_Final1717503745.MP4
The text was updated successfully, but these errors were encountered: