Skip to content

Releases: kirillzyusko/react-native-keyboard-controller

Release 1.13.4

06 Sep 06:04
f100194
Compare
Choose a tag to compare

Release that improves the stability of the library in certain cases 😎

🐛 Bug fixes

  • mount handlers when KeyboardProvider is not fully mounted yet (961e8a1)
  • detached worklet handlers on Fabric when StrictMode enabled (e5b7476)

👍 Improvements

  • use custom Logger on Android to improve perf (7c9c450)

🔢 Miscellaneous

  • docs fixes (e852dd9)
  • use ccache instead of buildcache on CI iOS builds (a64f2eb)

Release 1.13.3

30 Aug 08:27
8efdeca
Compare
Choose a tag to compare

Release that fixes some bugs and improving stability of the library in various environments 👍

🐛 Bug fixes

  • cycle dependencies (1ed4cd3)
  • ignore non scrollable ScrollView's for parentScrollViewTarget (127a15b)

👍 Improvements

  • support for dynamic frameworks on new architecture (6a2332b) by @WoLewicki
  • smooth keyboard animation if cross-fade transitions enabled on iOS (20c2d10)

🔢 Miscellaneous

  • comparison with useAnimatedKeyboard (26f54e0)
  • better stability of BottomTabBarRotation e2e test (d6143db)

Release 1.13.2

22 Aug 08:49
34493cd
Compare
Choose a tag to compare

Release that fixes a problem of incorrect height value arriving in onEnd handler or keyboardDidShow event 😎

🐛 Bug fixes

  • properly report height in keyboardDidAppear if event is happening during the animation (9b5510d)

👍 Improvements

  • reduce code duplication in KeyboardMovementObserver (66f3e42)

🔢 Miscellaneous

  • bump react-native to 0.75.2 (1dceb42)
  • fix iOS 18 e2e tests on CI (164eb79)
  • run e2e tests on iOS 15 (1c58299)

Release 1.13.1

19 Aug 10:43
c65f43f
Compare
Choose a tag to compare

Release that fixes an important problem with compilation errors for projects that uses module build and fixes incorrect paddings in landscape mode on Android 😅

🐛 Bug fixes

  • broken module build (2c460d3) closes #551
  • android landscape mode adds undesired paddings (0d7ef43) closes #547

Release 1.13.0

16 Aug 08:21
a0a156c
Compare
Choose a tag to compare

Release that allows to use the functionality of this library in Modals on Android, adds offset property to KeyboardGestureArea component, gives an ability to prevent default actions from being fired in KeyboardToolbar, brings support for [email protected], contains a lot of other bug fixes and improves the stability of the library. Read more about all changes in blogpost 🎉

🐛 Bug fixes

  • proper ref deallocation with FlatList -> KeyboardAwareScrollView usage (e79dbc7) closes #525
  • KeyboardToolbar accessibility wording (ef2f58c)
  • instant keyboard hide causes KeyboardAvoidingView keeping bottom space (6861faf)
  • web compilation (10a90ae)

👍 Improvements

  • modal support on Android (4a796eb) closes #369 #387
  • react on StatusBar.translucent changes (265b93c) closes #526
  • new offset prop for KeyboardGestureArea on Android (2f901a9)
  • allow keyboard toolbar button callbacks to cancel default actions (36b704b)
  • synchronous handler mount (cfc62b7)
  • support for react-native version 0.75 (c2a635b)

🔢 Miscellaneous

  • missing permissions for publishing package from CI (72c9fed)
  • allow manual publishing of the package from CI (a2abcd2)
  • add e2e tests for native-stack screen (2729e28)
  • update detox (bdaa38e)
  • run e2e tests on iOS 16 and iOS 18 08efc81
  • add KeyboardToolBarTheme type example (1bce3c8)
  • minor eslint tweaks (bb43792)
  • added interactive keyword to docs, improve SEO search (54dc6d7)
  • bump minimal react-native-reanimated version (23b0466)
  • hook names truncated in docs menu bar (e6ea67f)
  • use docusaurus 3.4.0 (a265bf0)
  • blogpost for 1.13.0 (b4eef45)
  • checkout 1.13.0 docs (7fcb6b7)

🚨⚠️🚨 Caution 🚨⚠️🚨

This release doesn't have any breaking changes. However if you used undocumented setKeyboardHandlers/setInputHandlers method (from context/useKeyboardContext), then, please, be aware that the signature of the method was changed:

const context = useKeyboardContext();

// ...

-context.setKeyboardHandlers({ [key]: handler });
+const cleanup = context.setKeyboardHandlers(handler);

But since it was not documented and mostly was used by internal hooks - this change is not treated as a breaking one.

Release 1.12.7

24 Jul 10:31
f8b978b
Compare
Choose a tag to compare

Release that improves animation precision on iOS, adds reaction to text selection changes in KeyboardAwareScrollView, revealing react-compiler violations in source code, resolves some bugs, adds more e2e tests and improving stability 👀

🐛 Bug fixes

  • pick up proper ViewController for KeyboardToolbar when modal is shown (1e446dc)

👍 Improvements

  • react on selection changes in KeyboardAwareScrollView (7af6fac)
  • precise timing keyboard animation on iOS (7c3f4ae)

🔢 Miscellaneous

  • stable e2e selection test on API 31 (8f94250)
  • KeyboardAvoidingView e2e tests (85ca03c)
  • add verified badge to npm (8fc2303)
  • detect react-compiler rules violations (dce5a57)

Release 1.12.6

12 Jul 08:52
6e3068e
Compare
Choose a tag to compare

Less bugs, better stability 🚀

🐛 Bug fixes

  • handle contextMenuHidden prop on iOS properly (887b110)
  • support both (worklet and js) onScroll handler for KeyboardAwareScrollView (35a6e2a)
  • incorrect scroll distance on Android if KeyboardAwareScrollView gets mounted faster than first windowDidResize event gets received (3bda77c);

🔢 Miscellaneous

  • use google_apis device in e2e tests (4b6a06d)
  • test emoji keyboard in e2e (b750fad)
  • e2e tests for interactive keyboard (0629edf)

Note

Starting from this version minimal supported react-native-reanimated version is 2.11.0.

Release 1.12.5

05 Jul 10:14
487eadd
Compare
Choose a tag to compare

Another release improving stability of 1.12 😎

🐛 Bug fixes

  • RN 0.75 compilation error (979bd42)
  • update selection on focus on iOS (753cb57) closes #482
  • race condition between js and worklet in KeyboardAwareScrollView (6825c25)
  • incorrect selection coordinates when input grows on iOS (6bb145c) closes #489
  • memoize WindowDimensionListener per context (6e3e0af) closes #486

🔢 Miscellaneous

  • rename "Run Gradle Lint" -> "Run Gradle Assemble" for Android Build job (ba5dc0a)
  • run e2e tests on Android 12 (0814a6a)
  • reorganize iOS extensions (c4c52f4)
  • update react-native to 0.74.3 (a029a51)

Release 1.12.4

20 Jun 12:47
10a254e
Compare
Choose a tag to compare

Just another release that contains some important bug fixes 😊

🐛 Bug fixes

  • compatibility for RN < 0.72 (02c842d)
  • random scrolls of KeyboardAwareScrollView during re-render (21eff3b) closes #476 #384

🔢 Miscellaneous

  • update react-native-reanimated to 3.12.1 (2f63fea)

Release 1.12.3

14 Jun 11:03
a5f8ab0
Compare
Choose a tag to compare

Release that adds support for snapToOffsets property for KeyboardAwareScrollView, resolves some old issues and improving stability of the library in some corner cases 💪

🐛 Bug fixes

  • snapPoints scroll calculations for KeyboardAwareScrollView (56400db)
  • missing navigationBar height in keyboard size if navigationBar is translucent (97d504d)
  • not detectable keyboard view on iOS (950d3bc)
  • ignore non-visible keyboard (3b9460c)

👍 Improvements

🔢 Miscellaneous

  • added tips and info badges for KeyboardAwareScrollView page in docs (1d2cfbd)
  • fixed KeyboardAware types in BottomSheet integration section docs (8249e48)
  • mention softwareKeyboardLayoutMode in docs (4361c2e)
  • pin iOS/XCode versions to a local env in CI/e2e (8a575c1)