Skip to content

Fix overflow when scrolling child widgets #27

@docelic

Description

@docelic

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.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions