Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Floating groups can be enlargened beyond the Dockview / screen boundary #817

Open
zaxer2 opened this issue Jan 3, 2025 · 0 comments
Open

Comments

@zaxer2
Copy link
Contributor

zaxer2 commented Jan 3, 2025

Describe the bug
When click-and-dragging to move a floating group, it is bound within the Dockview dimensions. However, when dragging to resize, it extends beyond the screen boundary. This renders its controls inaccessible.

For some reason, on the Dockview-Demo codesandbox, the window simply follows the mouse past the boundary. However, in my repo, it snaps to the edge and extends in the opposite direction. ...I'm not totally sure why, sorry. (CSS differences?)

To Reproduce
Head on over to the Dockview Demo codesandbox, (https://codesandbox.io/p/sandbox/solitary-http-ldx2jk), click "open in new tab" in Codesandbox, open a new Floating window, and click and drag its borders past the edge of the screen.
Expected behavior
enlargening should cease once the enlargening edge hits a Dockview border.

Videos
Codesandbox
https://github.com/user-attachments/assets/4b04a916-de51-4ffe-8ae9-0ce6c4958fd7

My repo

Screen.Recording.2025-01-03.144657.mp4

Desktop (please complete the following information):

  • In both cases, browser is Chrome
  • Codesandbox is Dockview version 3.0.0
  • My repo is Dockview version 2.1.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant