atlassian / react-beautiful-dnd

Beautiful and accessible drag and drop for lists with React
https://react-beautiful-dnd.netlify.app
Other
33.31k stars 2.55k forks source link

highlight drop zone on dragdropcontext #2313

Open martin-shn opened 3 years ago

martin-shn commented 3 years ago

I couldnt fint any example or documentation on how to highlight the droppable zone area on the dragdropcontext board.

if I have the dragdropcontext area with 4 divs on it, each div is a draggable. when i move them, i want only the droppable area to be highlighted and not the whole board.

thanks

bannarisoftwares commented 3 years ago

Any updates please?

RusmiselE-lattice commented 3 years ago

The first example here shows how you can use snapshot.isDraggingOver to style your droppable https://github.com/atlassian/react-beautiful-dnd/blob/master/docs/api/droppable.md