Skip to content

feat: add mode prop for KeyboardAwareScrollView#1420

Merged
kirillzyusko merged 2 commits into
mainfrom
feat/keyboard-aware-scroll-view-mode-prop
Apr 3, 2026
Merged

feat: add mode prop for KeyboardAwareScrollView#1420
kirillzyusko merged 2 commits into
mainfrom
feat/keyboard-aware-scroll-view-mode-prop

Conversation

@kirillzyusko

@kirillzyusko kirillzyusko commented Apr 1, 2026

Copy link
Copy Markdown
Owner

📜 Description

Added mode prop to KeyboardAwareScrollView.

💡 Motivation and Context

It seems that increasing height of fake view in KeyboardAwareScrollView sometimes is a desired behavior.

Even though I think like it's still better to avoid - obviously by performing such a significant refactor we introduce breaking changes and to simplify migration for other developers I added mode prop compatibility.

I would like to dive deeper and see if we can use translate approach for such things to make performance better (i. e. sheets etc.), but this is a big research and for now I just want to give an ability to use old behavior 🤞

Closes #1414

Potentially #1368

📢 Changelog

JS

  • add mode property to KeyboardAwareScrollView;

Docs

  • mention in blogpost new behavior;
  • add new property description to docs page.

🤔 How Has This Been Tested?

Tested via e2e tests in CI.

📝 Checklist

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

@kirillzyusko kirillzyusko self-assigned this Apr 1, 2026
@kirillzyusko kirillzyusko added enhancement New feature or request KeyboardAwareScrollView 📜 Anything related to KeyboardAwareScrollView component labels Apr 1, 2026
@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

📊 Package size report

Current size Target Size Difference
313329 bytes 310072 bytes 3257 bytes 📈

@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-04-03 08:35 UTC

@argos-ci

argos-ci Bot commented Apr 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Argos notifications ↗︎

Build Status Details Updated (UTC)
default (Inspect) ⚠️ Changes detected (Review) 2 changed Apr 3, 2026, 8:19 AM

@kirillzyusko kirillzyusko added the documentation Improvements or additions to documentation label Apr 3, 2026
@kirillzyusko kirillzyusko marked this pull request as ready for review April 3, 2026 08:27
@kirillzyusko kirillzyusko merged commit fbedbc2 into main Apr 3, 2026
19 of 21 checks passed
@kirillzyusko kirillzyusko deleted the feat/keyboard-aware-scroll-view-mode-prop branch April 3, 2026 08:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation enhancement New feature or request KeyboardAwareScrollView 📜 Anything related to KeyboardAwareScrollView component

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KeyboardAwareScrollView behavior difference after 1.21.0

1 participant