DioxusLabs / DioxusLabs/taffy

Support `Overflow::Auto`

Open
#560 0 comments 5 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
3.6k
Forks
222
Avg merge
10h 41m
Merged PRs (30d)
40

Description

If a node has overflow: auto in a given axis then it should be laid out as normal, but if it overflows then space for a scrollbar should be reserved (as with overflow: scroll) and layout for that node should be redone with the space for the scrollbar taken into account.

Contributor guide

Open the contributing guide

Research direction

Start by locating the layout code that handles node overflow and the existing behavior for overflow: scroll. Trace how an overflowing axis is detected and how a second layout pass could account for scrollbar space; done means overflow: auto lays out normally when content fits and reserves scrollbar space before relayout when it does not.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.