Repository navigation
Conversation
A node fills the height it is offered with its content pinned to the top, so a one-line row in a list cell (52pt minimum on iOS 26) sat high with a gap below; rows now keep their own height and are centred in the list's minimum row height. Their text was also padded by a fixed 16pt while iOS puts section headers, footers and cell content on the system margin (20pt on the wide iPhones), so rows sat 4pt left of their headers there; list items now pad by that margin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Two small layout problems with
native:list-itemrows on iOS, both visible in any grouped list:Fix: each row keeps its own height and is centred in the list's minimum row height, and list items pad by the system margin instead of a fixed 16pt. Outside a list, a list item still pads by 16pt. Android is not touched.
To reproduce, on an iPhone 17 Pro Max simulator:
Before / after (iPhone 17 Pro Max simulator, iOS 26.5): the row text moves from 16pt to 20pt inside the margin, under "General" and the footer, and the one-line rows are centred: