Skip to content

Conversation

RaghavSekhri
Copy link

@RaghavSekhri RaghavSekhri commented Jan 6, 2022

This fill={fill} will change the color inside the circle for react-native-web and we need to pass fill='#00000000' from the frontend. This text change will show the correct percentage of the filled circle.

allowFontScaling={allowFontScaling}
>
{formatText(progressValue)}
{progress ? formatText(progress._value) : this.forceUpdate()}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this needed? Calling this.forceUpdate() from the render function might cause an infinite loop.

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

Successfully merging this pull request may close these issues.

2 participants