Well, I have a list of cards that can be dragged using Angular Material's drag and drop. If you click on it, a menu is displayed (with more elements inside)
I can drag these cards with the content open or closed. I don't want it to be draggable if the content is open. I want it to close automatically or prevent me from dragging in any case. I know I could use a boolean condition but I'm not sure how to implement it. Can you help me? Thanks a lot!