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

Resizable spaces on opposite sides don't behave like they're on the same layer #72

Open
BenJenkinson opened this issue May 27, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@BenJenkinson
Copy link

BenJenkinson commented May 27, 2020

Description:
I am able to drag the edge of a <Space.LeftResizable> past the edge of a <Space.RightResizable> meaning that the content of the left space is underneath the right space (or vice versa)

Example:
An example can be seen on the first "Resizable Spaces" example , here: https://www.allaneagle.com/projects/react-spaces/examples#resizable

To reproduce:

  1. Drag the edge of the <Space.LeftResizable> to the right, past the boundary with the <Space.RightResizable>
  2. See that the content of the left space is stretched since the left space extends past the boundary, and "underneath" the right space.

Expected behavior:

  • I would expect the edge being dragged to "hit" the edge of the other space and then either:
    • ...continue shrinking the right space (according to the right space's minimum size)
    • ...stop (if the right space has a fixed size or is already at its minimum size)
  • I would not expect to be able to make one space overlap another space

Screenshots:
Here you can see the overlap between the two spaces where I was able to drag one space border over the other one, despite them being on the same layer.
image
(I used slightly translucent backgrounds for the two spaces to make it more obvious)

Desktop:

  • OS: Windows
  • Browser: Chrome
  • Version: 83.0.4103.61

Package:

  • Version: 0.1.25
@aeagle aeagle added the bug Something isn't working label Jun 3, 2020
@aeagle aeagle added enhancement New feature or request and removed bug Something isn't working labels Jul 11, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants