ibitcy / react-native-hole-view

✂️ React-Native component to cut a touch-through holes anywhere you want. Perfect solution for tutorial overlay
364 stars 20 forks source link

animation doesn't work #6

Closed ikibis25 closed 3 years ago

ikibis25 commented 3 years ago
Снимок экрана 2021-06-09 в 19 06 01

Hello :) I try your third example and I get this error

LOG BugReporting extraData: {"AppRegistry.runApplication1": "Running \"testApp\" with {\"rootTag\":31,\"initialProps\":{\"isHeadless\":false}}"} WARN Possible Unhandled Promise Rejection (id: 1): Error: You attempted to set the key duration with the value 200 on an object that is meant to be immutable and has been frozen.

react-native 0.61.0

avet-m commented 3 years ago

@ikibis25 Hello!

please follow this example

If error you mentioned above will happen again, let us know about it and provide some code snip, please

antila3567 commented 3 years ago

try delete useEffect(() { onPress(); }, []);

stephenkopylov commented 3 years ago

@ikibis25 hey!

We checked the example and it seems to work fine Screenshot 2021-06-10 at 16 36 20

Anyway - we've made few fixes + updated Readme - so now it's much easier to run the example

stephenkopylov commented 3 years ago

@ikibis25 closing the issue - feel free to reopen it if you'll face any difficulties working with the lib =)