Skip to content

Disable vertical scrollbars on Android only#6586

Merged
gaearon merged 1 commit into
mainfrom
noscrollbar-android
Nov 21, 2024
Merged

Disable vertical scrollbars on Android only#6586
gaearon merged 1 commit into
mainfrom
noscrollbar-android

Conversation

@gaearon
Copy link
Copy Markdown
Contributor

@gaearon gaearon commented Nov 21, 2024

Revisiting #3855 for two reasons:

  • With infinite scroll, they don't really mean anything
  • On Android specifically, they get pretty jumpy due to more choppy virtualization
  • Them (re)appearing is showing up in traces — it's a tiny bit of extra work to render them
  • On Android, they don't work as a navigational element anyway so the justification from remove hide_vertical_scrollbars test #3855 doesn't apply

So let's remove them but on Android only.

Test Plan

Can still see them on iOS and web. Can't see them on Android.

@arcalinea arcalinea temporarily deployed to noscrollbar-android - social-app PR #6586 November 21, 2024 02:43 — with Render Destroyed
@github-actions
Copy link
Copy Markdown
Contributor

Old size New size Diff
8.06 MB 8.06 MB 0 B (0.00%)

Copy link
Copy Markdown
Member

@mozzius mozzius left a comment

Choose a reason for hiding this comment

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

I'm fine with this

Not tested

@gaearon gaearon merged commit 6438ec6 into main Nov 21, 2024
@gaearon gaearon deleted the noscrollbar-android branch November 21, 2024 12:10
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.

4 participants