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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is about having a component that calls
addTabWithDragAndDrop
.Here's the code from the demo
Now I want to add that if the user clicks the button vs dragging it, something different happens
As it is, I never get the
click
event. Even if I remove theevent.stopPropagation
andevent.preventDefault
fromonAddDragMouseDown
To see an example of what I'm trying to, in VSCode, the File Explorer, each of the filenames can both be clicked OR dragged and dropped.
Screen.Recording.2022-10-31.at.1.03.53.AM.mp4
How would I do the same type of thing in FlexLayout?
Beta Was this translation helpful? Give feedback.
All reactions