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
Current behavior
When dragging a tab using a touch device (or just a desktop browser in responsive design mode), the tab starts to move
but then gets frozen (i.e. stops following the touch pointer).
Expected behavior:
The tab should follow the touch pointer, the same as it does when using a mouse pointer.
I know there have been similar issues raised in the past (e.g. #4 and #148), and this might be a subset of #500, but this is the main/only issue we have using touchscreen with golden-layout at the moment.
I've had a go at fixing it (combination of 'touch-action: none;' and using PointerEvents) so will submit a PR.
Also I resurrected the related tests (but didn't go as far as resurrecting them all).
I've only tested in Chrome and Firefox.
btw, thanks to everyone that's worked on golden-layout, it's a great project, and good to see it revived in the last year.
The text was updated successfully, but these errors were encountered:
* Start converting tests to typescript
Restore drag-tests
* Improve touchscreen support for dragging panels:
* add touch-action:none to tabs
* replace MouseEvent and TouchEvent with PointerEvent in drag-listener
* Regenerate package-lock.json
Co-authored-by: Martin Koppehel <martin@mko.dev>
Current behavior
When dragging a tab using a touch device (or just a desktop browser in responsive design mode), the tab starts to move
but then gets frozen (i.e. stops following the touch pointer).
Expected behavior:
The tab should follow the touch pointer, the same as it does when using a mouse pointer.
Codepen example:
This can be seen with the default codepen ( https://codepen.io/ButchMonkey/pen/GzGZey ) and the apitest.
I know there have been similar issues raised in the past (e.g. #4 and #148), and this might be a subset of #500, but this is the main/only issue we have using touchscreen with golden-layout at the moment.
I've had a go at fixing it (combination of 'touch-action: none;' and using PointerEvents) so will submit a PR.
Also I resurrected the related tests (but didn't go as far as resurrecting them all).
I've only tested in Chrome and Firefox.
btw, thanks to everyone that's worked on golden-layout, it's a great project, and good to see it revived in the last year.
The text was updated successfully, but these errors were encountered: