Dynamic maskElement does not update on Android
See original GitHub issueSummary
I found a bug on Android where the maskElement
does not update when its contents are changed. I do not see the bug on iOS.
Snack
I’ve replicated the bug in this Snack: https://snack.expo.dev/@bcwalk14/dynamic-mask-element.
The maskElement
updates to count the seconds on iOS, but it is frozen on Android.
Versions
@react-native-masked-view/masked-view: 0.2.4
Expo: v42.0.0
(I was still able to reproduce the error with 0.2.5
and 0.2.6
of @react-native-masked-view/masked-view)
Additional Context
When I change the Expo version back to v41.0.0
, I no longer see the bug where the maskElement
is frozen. So, this is a regression. However, it seems like there’s something in the Expo update from v41.0.0
-> v42.0.0
that’s breaking the masked-view on Android rather than a breaking change that was recently committed to the masked-view codebase.
It looks like this same bug has been reported and resolved previously in issues https://github.com/react-native-masked-view/masked-view/issues/67 and https://github.com/react-native-masked-view/masked-view/issues/19.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:9
Top GitHub Comments
For me is working for android on v0.2.6 with androidRenderingMode=‘software’ as a prop. no issue on iOS
try with https://github.com/Only-IceSoul/react-native-maskview