-
Notifications
You must be signed in to change notification settings - Fork 29
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
fix: disable clicks under record audio [WPB-9619] #3255
fix: disable clicks under record audio [WPB-9619] #3255
Conversation
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.
👏🏻 nice catch!
.clickable( | ||
interactionSource = remember { MutableInteractionSource() }, | ||
indication = null, | ||
onClick = { /* Don't allow to click on elements under record area */ } | ||
) |
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.
suggestion: use pointerInput
instead of clickable
to block any touch interaction, not just clicks
.clickable( | |
interactionSource = remember { MutableInteractionSource() }, | |
indication = null, | |
onClick = { /* Don't allow to click on elements under record area */ } | |
) | |
.pointerInput(Unit) { /* Don't allow to click on elements under record area */ } |
Built wire-android-staging-compat-pr-3255.apk is available for download |
Built wire-android-internal-compat-pr-3255.apk is available for download |
Quality Gate passedIssues Measures |
Built wire-android-staging-compat-pr-3255.apk is available for download |
Built wire-android-internal-compat-pr-3255.apk is available for download |
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Buttons under record message area were clickable
Solutions
Add clickable to record area box with disabled ripple effect to avoid clicks under this area