Skip to content
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

Bedtime reminder FPS drop #157

Open
amruu opened this issue Jul 6, 2021 · 2 comments
Open

Bedtime reminder FPS drop #157

amruu opened this issue Jul 6, 2021 · 2 comments

Comments

@amruu
Copy link

amruu commented Jul 6, 2021

bedtime.MP4

@wcandillon Frame rate is dropping like crazy even using react-native-reanimted 2

i used my iphone 7 plus to test this.

@wcandillon
Copy link
Owner

It is because of the mask: https://github.com/wcandillon/can-it-be-done-in-react-native/blob/master/season4/src/Bedtime/CircularSlider.tsx#L49
Remove the mask and you will get 60fps. I hope this helps.

@amruu
Copy link
Author

amruu commented Jul 13, 2021

removing the mask will not have the impact of circular slider as IOS, isn't there any workaround for this ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants