Skip to content

Refine spacing on cells that contain Slider controls #2126

@iamthomasbishop

Description

@iamthomasbishop

Cells that contain the Slider control feel a bit too spacious in most cases — particularly on block settings bottom sheets. For example:

Current

iOS Android

Note: Android appears to have even more spacing than iOS (about ~10px more), so we could also tighten that spacing up to the same values as iOS unless we want to provide more spacing on Android. Edit: I just realized this 10px disparity might be because of the drag handle size difference between platforms.

Proposal

While it was designed this way in an effort to align with some of the native patterns, over time it has become clear that spacing feels a bit too much in practice, esp on Android. What I'm proposing is to essentially remove about ~14px of spacing between cell title and slider on iOS and ~24px on Android, like this:

iOS Android

Before/After

iOS Android

cc'ing for feedback: @SylvesterWilmott @mattmiklic — do you think this feels too condensed? Should we worry about matching the native component exactly or is it okay to refine these based on how they've felt in context?

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions