Skip to content

Releases: kirillzyusko/react-native-keyboard-controller

Release 1.14.4

07 Nov 11:47
46e2fdd
Compare
Choose a tag to compare

Just another minor release that resolves some bugs 🙂

🐛 Bug fixes

Release 1.14.3

29 Oct 15:23
cfc5b48
Compare
Choose a tag to compare

Release that mostly adopts new trends from react-native ecosystem, tries to make external contributions more developer-friendly and fixes some bugs 😎

🐛 Bug fixes

  • OverKeyboardView compatibility with RN < 0.72 (c8264b4)
  • crash on web (22019a2)

👍 Improvements

  • detect react-native-edge-to-edge presence and automatically configure props for KeyboardProvider (c958062) by @zoontek
  • avoid SharedValue reads during render (e31a62a)

🔢 Miscellaneous

  • meaningful page description for OverKeyboardView in docs (27d6229)
  • added Troubleshooting page in docs (9dec434)
  • added FAQ page in docs (f48d2d7)
  • use ccache on CI only (1ba0685)
  • fix size-diff and deploy-docs CI for external contributors (6eb74d2)
  • update reanimated to 3.16.1 (f42d69d)
  • update react-native-is-edge-to-edge to 1.1.3 (a09c7ed) by @zoontek
  • bump react-native-is-edge-to-edge to 1.1.4 to fix module resolution (d16908c)

Release 1.14.2

18 Oct 09:06
942a17b
Compare
Choose a tag to compare

Squashing out some bugs on iOS to make release more stable 😎

🐛 Bug fixes

  • unmount OverKeyboardView from native side (c068c2a)
  • check keyboard presence for OverKeyboardView (d1df467)
  • hide OverKeyboardView on app reload (5053914)
  • do not substitute TextInput delegate back if it's nil (4056513)

👍 Improvements

  • remove deprecated keyWindow usage (de98355)
  • do not use event names as magic values on Android (56cd863)

Release 1.14.1

11 Oct 09:01
ee4aada
Compare
Choose a tag to compare

Release that focuses on improving stability of the library 💪

🐛 Bug fixes

  • incorrect Modal layout if it was open while keyboard was visible (bb5e9e1)
  • broken StatusBar when Activity changes (7a996fa)
  • interactive KeyboardAvoidingView (15e5c34)

👍 Improvements

  • add performance tests (7c05162)
  • make OverKeyboardView more robust when it appears while keyboard is not visible (a259792)

🔢 Miscellaneous

  • create CODE_OF_CONDUCT (bb8fa77)
  • format CODE_OF_CONDUCT (9846bc6)
  • move iOS animation to separate folder (3e850de)
  • make e2e tests more stable on iOS 18 (0553cd8)
  • fix cpplint job on CI (4b52227)
  • don't use macos-12 on CI (723a3eb)

Release 1.14.0

01 Oct 10:27
5f3dd28
Compare
Choose a tag to compare

Release that adds OverKeyboardView and resolves various bugs 🐛

🐛 Bug fixes

  • non working KeyboardToolbar in Modal (b60fb21)
  • invisible ScrollView when OverKeyboardView is used (e8ecacd)
  • non working GestureDetector inside OverKeyboardView (5457746)
  • KeyboardToolbar view props inheritance (5bc2cea)
  • OverKeyboardView not stretching to full screen on Android (fabric) (a557b9a)

👍 Improvements

  • add OverKeyboardView component (bc8d3b7)
  • allow to use ScrollView from react-native-gesture-handler in KeyboardAwareScrollView component (79d9739)
  • make KeyboardToolbar inherit ViewProps (a4532d8)
  • OverKeyboardView refactoring (3eb50e0)

🔢 Miscellaneous

  • added hoverable keyboard (interactive animation) in docs (e2198af)
  • update react-native to 0.75.3 (7ff0d8c)
  • update swiftlint (7f13c90)
  • update ktlint (1d43a32)
  • add example app icons (b305762)
  • image gallery example (shared element transition with OverKeyboardView) (1917717)
  • add info about view props inheritance to KeyboardAvoidingView page in docs (9d8c618)
  • unify prop inheritance style for KeyboardAwareScrollView component in docs (92d6cee)
  • checkout 1.14 version for docs (96fd0d6)
  • blogpost for 1.14 (0a4e129)

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.