tajo / react-movable

🔀 Drag and drop for your React lists and tables. Accessible. Tiny.
https://react-movable.pages.dev
MIT License
1.55k stars 51 forks source link

When used in modal, the item is shown in the back. #59

Closed if-songmi closed 3 years ago

if-songmi commented 3 years ago
error

Hello

I'm using it with gratitude. There's an issue, so I leave a message. When used in modal, the item is shown in the back.

I used this code. https://github.com/tajo/react-movable/blob/master/examples/Basic.tsx

I'd appreciate it if you could help me with how to revise it.

Have a good day. @tajo @dumbmatter @lindskogen @cbschuld @moroshko

tajo commented 3 years ago

You can render dragged item into custom container or change zIndex. It depends how your modal / layering is implemented.

if-songmi commented 3 years ago

You can render dragged item into custom container or change zIndex. It depends how your modal / layering is implemented.

Thank you for your answers. For your information, I'll test it out.