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

Cannot move slider - Unable to preventDefault inside passive event listener invocation. #198

Open
kristijorgji opened this issue Dec 24, 2021 · 0 comments

Comments

@kristijorgji
Copy link

I cannot move the slider at all after a simple usage, get the below error in console
Unable to preventDefault inside passive event listener invocation.

const [zoomSlider, setZoomSlider] = useState(0);

                    return    <InputRange
                                maxValue={100}
                                minValue={0}
                                value={zoomSlider}
                                onChange={(value) => setZoomSlider({ value } as unknown as number)}
                            />
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

1 participant