Skip to content

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

Draft
adam-sajko wants to merge 15 commits into
callstack:mainfrom
adam-sajko:poc/list-three-line-web-measurement
Draft

adam-sajko wants to merge 15 commits into
callstack:mainfrom
adam-sajko:poc/list-three-line-web-measurement

Conversation

@adam-sajko

@adam-sajko adam-sajko commented Sep 1, 2026

Copy link
Copy Markdown

Motivation

PoC on top of #5041: 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.

Related issue

Related to #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.

@adam-sajko
adam-sajko force-pushed the poc/list-three-line-web-measurement branch from a419866 to 82406dd Compare September 3, 2026 11:09
@adam-sajko
adam-sajko force-pushed the poc/list-three-line-web-measurement branch from 82406dd to b965426 Compare September 8, 2026 09:24
…s-spacing

# Conflicts:
#	src/components/List/ListItem.tsx
#	src/components/__tests__/ListAccordion.test.tsx
#	src/components/__tests__/ListImage.test.tsx
…web-measurement

# Conflicts:
#	src/components/List/ListItem.tsx
@satya164
satya164 requested a balanced review from Copilot September 15, 2026 20:32

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants