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
I have verified that I use latest version of all @mantine/* packages
What version of @mantine/* packages do you have in package.json?
7.7.2
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
All
Describe the bug
When using a Slider component with onChange and onChangeEnd events, using arrow keys to change the value will cause the onChangeEnd event to fire before onChange
If possible, include a link to a codesandbox with a minimal reproduction
onChnageEnd is called whenever the user stops any interactions with the component. onChange is called when value changes. The logic is correct, the order of functions calls does not matter.
Dependencies check up
What version of @mantine/* packages do you have in package.json?
7.7.2
What package has an issue?
@mantine/core
What framework do you use?
Vite
In which browsers you can reproduce the issue?
All
Describe the bug
When using a
Slider
component withonChange
andonChangeEnd
events, using arrow keys to change the value will cause theonChangeEnd
event to fire beforeonChange
If possible, include a link to a codesandbox with a minimal reproduction
No response
Possible fix
Reorder the events at
mantine/packages/@mantine/core/src/components/Slider/Slider/Slider.tsx
Lines 239 to 240 in 4c9a875
Self-service
The text was updated successfully, but these errors were encountered: