Skip to content

Releases: kirillzyusko/react-native-keyboard-controller

Release 1.11.1

24 Feb 11:54
e87de70
Compare
Choose a tag to compare

Release that fixes a crash on web 🤫

🐛 Bug fixes

Release 1.11.0

21 Feb 07:56
de5e2ef
Compare
Choose a tag to compare

Release that adds the KeyboardToolbar component, adds the ability for KeyboardAwareScrollView to detect whether focused input belongs to the particular KeyboardAwareScrollView instance, and includes some other fixes and improvements 😎

🐛 Bug fixes

  • added mock for useKeyboardContext (620f379)
  • do not force cast KVO values (031c64c)

👍 Improvements

🔢 Miscellaneous

  • added lottie animation to interactive keyboard guide (490b712)
  • blogpost for 1.11.0 (9795cc8)
  • checkout 1.11.0 version for docs (61a1780)

Release 1.10.6

08 Feb 08:54
15b0dfc
Compare
Choose a tag to compare

Minor release resolving compatibility issue on Fabric with frameworks enabled (static linking, which is actively used in Firebase).

🐛 Bug fixes

  • use conditional import for supporting frameworks on Fabric (740d55a)

👍 Improvements

  • move all interactive keyboard code to dedicated interactive folder on Android (a70c6fd)

🔢 Miscellaneous

Release 1.10.5

01 Feb 20:48
28a7eeb
Compare
Choose a tag to compare

Minor release that adds enabled property to KeyboardAwareScrollView.

👍 Improvements

Release 1.10.4

29 Jan 21:14
5913699
Compare
Choose a tag to compare

Minor release resolving some bugs 🙂

🐛 Bug fixes

  • useFocusedInputHandler and onChangeText handler ignores an input from react-native-text-input-mask on iOS (6d3a9d0)
  • slow back transitions on Android < 11 in KeyboardAwareScrollView (2c93b82)
  • forward ref to KeyboardAwareScrollView (7d78983)

Release 1.10.3

20 Jan 13:28
43a1817
Compare
Choose a tag to compare

Minor release that fixes some KeyboardAwareScrollView issues.

🐛 Bug fixes

  • fire onScroll from props in KeyboardAwareScrollView (299d246) fixes #337

👍 Improvements

  • added disableScrollOnKeyboardHide property to KeyboardAwareScrollView (3b77117) by @bcgilliom

Release 1.10.2

15 Jan 09:26
cb715fe
Compare
Choose a tag to compare

Minor release that improves the stability of 1.10.0 release, resolves integration issues and fixes memory leaks on iOS 🙂

🐛 Bug fixes

  • missing components mocks (0db7016) fixes #319
  • memory leak on iOS (efa8b94) fixes #317
  • set currentInput to nil to fix a memory leak (6f055c9)
  • remove wrapper view from KeyboardAwareScrollView (ec912c0) closes #325
  • react-native-text-input-mask conflict on Android (97b0954) closes #324
  • synchronize bottom padding with keyboard frame in KeyboardAwareScrollView (391e293) closes #329
  • choppy animation of KeyboardAvoidingView with secureTextEntry on iOS (ceb6bfd) closes #327

Release 1.10.1

05 Jan 10:23
51894de
Compare
Choose a tag to compare

Minor release that fixes choppy animation on Android devices when keyboard is resized and you use KeyboardAvoidingView or KeyboardStickyView with offset property.

🐛 Bug fixes

  • incorrect first frame when keyboard was resized (133bfd8) fixes #315

🔢 Miscellaneous

  • apply prettier on the whole project files (b6d2ca8)
  • automatically add sponsor label to issues (2b73c31)

Release 1.10.0

26 Dec 11:02
97e9c8f
Compare
Choose a tag to compare

Release that adds useFocusedInputHandler hook, KeyboardController.dismiss() method and exports KeyboardAwareScrollView component among other fixes and improvements 😎

🐛 Bug fixes

  • ignore non-keyboard animations (702a669)
  • fixed react native 0.73.x build failure when new arch is enabled on iOS (a425e7c) by @Mhp23

👍 Improvements

  • added useFocusedInputHandler hook (a30e729)
  • export KeyboardAwareScrollView component (db5a741)
  • added KeyboardController.dismiss() method (1651da4)

🔢 Miscellaneous

  • get rid off deprecated useWorkletCallback (64dc299)
  • migrate off from deprecated set-output (5492356)
  • build iOS projects when main .podspec file is changed (b4ca627)
  • resolve duplicate screen names (f95f249) by @zoontek
  • blogpost for 1.10.0 (eaea542)
  • checkout 1.10.0 docs version (a26c7ed)

🚨⚠️🚨 Caution 🚨⚠️🚨

This release doesn't have any breaking changes. However if you used undocumented setHandlers method (from context/useKeyboardContext), then, please, be aware that this method was renamed to setKeyboardHandlers(a30e729 for reference):

const context = useKeyboardContext();

// ...

-context.setHandlers({ [key]: handler });
+context.setKeyboardHandlers({ [key]: 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.9.5

02 Dec 11:24
81c0b0d
Compare
Choose a tag to compare

Release that adds support for RN 0.73 (support for AGP 8+).

🐛 Bug fixes

  • race condition in useSmoothKeyboardHandler (example app) (d8a312d)

👍 Improvements

  • added e2e tests (35d0ada)
  • enable buildFeatures.buildConfig for AGP 8+ (9cff79c)

🔢 Miscellaneous

  • rename FocusedInputLayoutObserver -> FocusedInputObserver (c94c5e3)
  • specify paths on push for e2e tests (6c562c6)