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

Fix overflow when scrolling child widgets #27

Open
docelic opened this issue Apr 15, 2023 · 0 comments
Open

Fix overflow when scrolling child widgets #27

docelic opened this issue Apr 15, 2023 · 0 comments

Comments

@docelic
Copy link
Collaborator

docelic commented Apr 15, 2023

Run test/widget-scrollable-boxes in a small window.
Scroll down using down arrow until the yellow elements comes into view.
Keep scrolling and notice how the element is properly contained within the parent (overflow is hidden).

Keep scrolling until the border of the yellow element reaches the border of the parent's parent (i.e. when the absolute y of the green box and yellow box becomes equal).
At that moment, the overflow prevention will stop working correctly and the yellow widget will render outside of parent (purple box) boundaries.

Investigate why and fix.

(Same issue is present in Blessed.)

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