Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Min/Max Issue #243

Open
timothyerwin opened this issue Aug 14, 2021 · 2 comments
Open

Min/Max Issue #243

timothyerwin opened this issue Aug 14, 2021 · 2 comments

Comments

@timothyerwin
Copy link

timothyerwin commented Aug 14, 2021

I think there is some bug on this component...when you set min/max it works fine until you update value using this.setState after which max loses its value by 1...

So below...if I use this.setState({ ...this.state, values: [5] }); then max only goes to 99 now.

<MultiSlider
        min={0}
        max={100}
        enabledTwo={false}
        allowOverlap={false}
        values={this.state.values} />
@chrissnape
Copy link

If you set allowOverlap to true, it should work correctly

@sandeep855
Copy link

sandeep855 commented Aug 26, 2023

if you pass a value in max greater than 6 digits eg: max={9999999} It hangs your device to load this value. Sometimes crashes app.

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

No branches or pull requests

3 participants