react-native-elements/react-native-elements-universe

an arc slider

silencer07 opened this issue · 6 comments

Would be nice if there is an option to arc the slider, values 0-89 degrees. The available arc sliders are too old already

Describe alternatives you've considered
react-native-circular sliders and the like

Additional context
google image search reference

@silencer07 that sounds like an interesting suggestion. Maybe you can fork one of the outdated libraries, update it, and then we can pull it into RNE?

@flyingcircle I think we can pull off arc slider in RNE easily as that requires working over the SVG paths.
We can use the current slider to extend the functionality of our Arc Slider.

I'm interested to work on this. Any pointers?

@flyingcircle I think we can pull off arc slider in RNE easily as that requires working over the SVG paths.
We can use the current slider to extend the functionality of our Arc Slider.

Do you mean by adding a few props to the existing Slider component, it can be displayed as arc (something like presentationMode={'arc' | 'line'}), or should this be an entirely separate new component?

If it is possible, I think it is usually better to have it be a separate component. If there's a way that you can find to reuse code between the 2 that'd be even better.

Hi! @flyingcircle seems like nobody is working on this. I want to pick this up.

@flyingcircle I think we can pull off arc slider in RNE easily as that requires working over the SVG paths.
We can use the current slider to extend the functionality of our Arc Slider.

I don't think this would be feasible as of the current state of the library as I don't see any SVG based code or am I missing something...