Skip to content

[FloatingActionButton] Use the current labelOpacity as the initial animation value #4696

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Conversation

pubiqq
Copy link
Contributor

@pubiqq pubiqq commented Mar 19, 2025

The PR makes labelOpacity animate from the FAB's current opacity value, rather than a value that is opposite the target value. This change fixes the blink that occurs when a button is animated from an intermediate state.

--

P.S. Originally posted by @pubiqq in #4595 (comment).

@pubiqq pubiqq mentioned this pull request Nov 11, 2024
@pubiqq pubiqq force-pushed the fab/use-current-label-opacity-as-initial branch from 0fe721d to 3a1aa13 Compare May 12, 2025 20:36
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant