Increase copied animation lingering time for reduced motion #6220
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.
Fixes #6199
When
reduced motion
is enabled via accessibility settings on desktop/mobile devices, copied animation stays for 0.1 sec, and it disappears too fast. It happens becauseentering/exit
animations are disabled by thereact-native-reanimated
library by default for reduced motion.We can constantly enable
entering/exiting
animations regardless ofreduced motion
settings and adjust their parameters if we want. But I kept them enabled for now and increased theCopied
label lingering time from 0.1 sec to 2 sec. Please advise if we want to follow a different path from a UX perspective.Here is what it looks like -
https://github.com/user-attachments/assets/d7d9dc8c-4f3e-4e8a-8c55-b3c5e78a3a07