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

Hard to resize widget beyond screen height #3811

Open
arikfr opened this issue May 19, 2019 · 3 comments
Open

Hard to resize widget beyond screen height #3811

arikfr opened this issue May 19, 2019 · 3 comments

Comments

@arikfr
Copy link
Member

arikfr commented May 19, 2019

When vertically resizing a widget, it is expected that when you hit the bottom boundary of the screen, it will keep scrolling. But this is not the current behavior.

Check this video:

https://cl.ly/ad07934e3966

  • You will see that at first, when I hit the bottom of the screen, it just stops there.
  • But on second attempt, it starts resizing the grid.

I couldn't figure out the rules of this behavior, as sometimes it allowed me to change grid size on first attempt.

@ranbena
Copy link
Contributor

ranbena commented May 20, 2019

I couldn't find a clearcut repro.

Kinda related react-grid-layout/react-grid-layout#532 but no relevant solution.
I would presume it is browser rather than library related.

One way around it, is to scroll to cursor with js when Grid.onResize. Might interfere with native scroll..

@kravets-levko got any insight?

@kravets-levko
Copy link
Collaborator

It's possible that this bug is on our side (e.g. overflow: hidden somewhere). I'll check it a bit later.

@justinh-rahb
Copy link

justinh-rahb commented Jul 23, 2019

I have definitely encountered this behaviour exactly as originally described. If you start to pull down the bottom edge of a widget when there's still some space between it and the bottom edge of the window, it will stop when it hits the edge. If you subsequently try to grab it again and stretch it, it sometimes will allow you to stretch it further down but often shrinks back up instead in an uncontrolled manner until you let it go or it reaches its minimum height.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants