Skip to content

Clamp the totalPadding to the scrollview height in KeyboardChatScrollView#1497

Open
trcoffman wants to merge 2 commits into
kirillzyusko:fix/android-non-scrollable-view-when-blank-space-should-make-it-scrollablefrom
trcoffman:fix/clamp-total-padding-keyboard-chat-scroll-view
Open

Clamp the totalPadding to the scrollview height in KeyboardChatScrollView#1497
trcoffman wants to merge 2 commits into
kirillzyusko:fix/android-non-scrollable-view-when-blank-space-should-make-it-scrollablefrom
trcoffman:fix/clamp-total-padding-keyboard-chat-scroll-view

Conversation

@trcoffman

Copy link
Copy Markdown
Contributor

📜 Description

A blankSpace value greater than the height of the scrollview causes crazy jank on Android.

There's no reason to allow that, so clamp it.

💡 Motivation and Context

📢 Changelog

JS

iOS

Android

🤔 How Has This Been Tested?

📸 Screenshots (if appropriate):

📝 Checklist

  • CI successfully passed
  • I added new mocks and corresponding unit-tests if library API was changed

@github-actions

Copy link
Copy Markdown
Contributor

📊 Package size report

Current size Target Size Difference
319080 bytes 318893 bytes 187 bytes 📈

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