[BUG] <Reorder.Group />
stops working if axis
is changing after window resize
#3022
Labels
bug
Something isn't working
If the
axis
changes on window resize (detected by matchMedia), <Reorder.Group /> stops reordering and allows only dragging, but the state is not changing.However, if I change the
axis
by clicking on a button, and the window size is not changed, it works well.Reproduction of the bug
https://stackblitz.com/edit/vitejs-vite-7pbqpyha?file=src%2FApp.tsx
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
To work correctly if
axis
is changedVideo or screenshots
20250123-1403-34.5976746.mp4
The text was updated successfully, but these errors were encountered: