You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the circular slider is not registering the correct location of my presses only when the component is mounted after being navigated to using react-navigation. I was able to identify the issue as being the px value obtained by this._circle.measure in setCircleCenter() of the CircularSlider component. The value of px is different if the component is loaded normally versus if it navigated to using react-navigation. In order to solve this, I simply hardcoded the value for px with the value that is obtained when the component loads normally. However, I am not sure if this solution is going to scale well. Does anyone know of any other solution to this problem that I can attempt? Thanks!
The text was updated successfully, but these errors were encountered:
It seems that the circular slider is not registering the correct location of my presses only when the component is mounted after being navigated to using react-navigation. I was able to identify the issue as being the px value obtained by this._circle.measure in setCircleCenter() of the CircularSlider component. The value of px is different if the component is loaded normally versus if it navigated to using react-navigation. In order to solve this, I simply hardcoded the value for px with the value that is obtained when the component loads normally. However, I am not sure if this solution is going to scale well. Does anyone know of any other solution to this problem that I can attempt? Thanks!
The text was updated successfully, but these errors were encountered: