React Native Circular Slider?

天涯浪子 提交于 2020-05-15 06:33:19

问题


I've tried to look through several libraries of React Native circular sliders, however none of them work as intended. All of them suffer the same bug where they randomly change values as you slide. A example would be:

What I am looking for, is a circular slider with it's value in the middle of the slider, very much so like this:

Thank you in advance

Edit: I've added a test repo if you want to play around with it. I've tried my best, but this is the best I could do

https://github.com/2joocy/SliderTest

The code was taken from here:

https://github.com/steveliles/react-native-circular-slider-example


回答1:


I haven't worked with circle slider yet. But I tried to search and there are 2 repos. Maybe that is what you need.

https://github.com/bgryszko/react-native-circular-slider

https://github.com/raymondchooi/react-native-circle-slider

Good luck!



来源:https://stackoverflow.com/questions/51058669/react-native-circular-slider

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!