nithinpp69 / react-native-circular-progress-indicator

react native circular progress indicator library
MIT License
243 stars 54 forks source link

Current version doesn't seem to work in react-native-web #69

Open sreuter opened 2 years ago

sreuter commented 2 years ago

We're using the latest Expo SDK 45 with react-native-web 0.17.7 and get the following error:

TypeError: undefined is not an object (evaluating 'component._touchableNode.setAttribute')

The component does render fine, but but only in its inactive state. The progress value is always 0, no matter what you set it to.

nithinpp69 commented 2 years ago

I'll try this one out with the said Expo and RNW versions.

nithinpp69 commented 2 years ago

Hey, I've been out sick for the last two weeks 🥲. I tried this with the new versions and it seems the issue on web is originating from the animatedProps property passed down to the svg. The text and all the other components are rendering fine when the animatedProps part is removed. Will have to look more into it once I get some free time.

nithinpp69 commented 2 years ago

seems this is related to https://github.com/software-mansion/react-native-reanimated/issues/3321