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
Drag the divider between allotment.tsx and allotment.module.css to the left and keep the left mouse button depressed until it's over the a file listing (such as allotment.tsx) then release the mouse.
This results in a new pane being opened for allotment.tsx
This behavior does not happen in Chrome.
The text was updated successfully, but these errors were encountered:
I've found I can use the onDragStart and onDragEnd events to keep track of when the drag occurs. However, then I need to update all the buttons to be aware of the drag.
It would be a lot better if I could access the drag event so that default actions or event bubbling could be prevented.
@laurenga Thanks for reporting this. I can reproduce it so that's a good start!
I can't commit to a timescale for fixing this. There's a chance it's really simple, but there's also a good chance it's a tricky browser behaviour thing, e.g. w3c/pointerevents#75.
I'll also consider adding an onDrag callback to accompany the onDragStart and onDragEnd callbacks
I did try spamming all of preventDefault(), stopPropogration(), and stopImmediatePropogration() in a few places just to see if there was any effect. I'll see what I can do when I get a chance to take a more thoughtful look.
Found in Firefox (v126): Using the demo at https://allotment.mulberryhousesoftware.com/
Drag the divider between
allotment.tsx
andallotment.module.css
to the left and keep the left mouse button depressed until it's over the a file listing (such asallotment.tsx
) then release the mouse.This results in a new pane being opened for
allotment.tsx
This behavior does not happen in Chrome.
The text was updated successfully, but these errors were encountered: