Skip to content

Detect three-line List rows on web (PoC) - #1

Closed
adam-sajko wants to merge 1 commit into
roksanaz:feat/modernize-list-md3from
adam-sajko:poc/list-three-line-web-measurement
Closed

adam-sajko wants to merge 1 commit into
roksanaz:feat/modernize-list-md3from
adam-sajko:poc/list-three-line-web-measurement

Conversation

@adam-sajko

Copy link
Copy Markdown

Motivation

PoC on top of this branch: the three line 12dp tier relies on onTextLayout, which
does not exist on web. This measures the description instead, so the tier works there too.

Same change as callstack#5091, opened here so the diff is the PoC alone.

Related issue

Related to callstack#4976

Test plan

Run the example on web, open the List screen and check a row with a wrapping
description gets the three line padding.

@github-actions

Copy link
Copy Markdown

Found potential problems with the pull request:

  • Screenshot or video evidence is missing. Make sure to include one if it affects the UI.

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

Successfully merging this pull request may close these issues.

1 participant