react-native-keyboard-controller

Keyboard manager which works in identical way on both iOS and Android

MIT License

Downloads
253.8K
Stars
1.6K
Committers
4

Bot releases are hidden (Show)

react-native-keyboard-controller - Release 1.13.4 Latest Release

Published by kirillzyusko about 1 month ago

react-native-keyboard-controller - Release 1.13.3

Published by kirillzyusko about 2 months ago

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

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.13.2

Published by kirillzyusko about 2 months ago

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

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.13.1

Published by kirillzyusko 2 months ago

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

react-native-keyboard-controller - Release 1.13.0

Published by kirillzyusko 2 months ago

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

👍 Improvements

🔢 Miscellaneous

🚨⚠️🚨 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.

react-native-keyboard-controller - Release 1.12.7

Published by kirillzyusko 3 months ago

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

👍 Improvements

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.12.6

Published by kirillzyusko 3 months ago

Less bugs, better stability 🚀

🐛 Bug fixes

🔢 Miscellaneous

[!NOTE]
Starting from this version minimal supported react-native-reanimated version is 2.11.0.

react-native-keyboard-controller - Release 1.12.5

Published by kirillzyusko 4 months ago

Another release improving stability of 1.12 😎

🐛 Bug fixes

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.12.3

Published by kirillzyusko 4 months ago

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

👍 Improvements

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.12.2

Published by kirillzyusko 5 months ago

Release that improves stability of 1.12.0 👀

🐛 Bug fixes

👍 Improvements

react-native-keyboard-controller - Release 1.12.1

Published by kirillzyusko 5 months ago

react-native-keyboard-controller - Release 1.12.0

Published by kirillzyusko 5 months ago

Release that adds support for bridgeless mode, enhances KeyboardToolbar component, adds onSelectionChange handler, improves precision of onMove handler on iOS and contains many other fixes and improvements 😎

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

🚨⚠️🚨 Caution 🚨⚠️🚨

This release doesn't have any breaking changes, but the fix added in https://github.com/kirillzyusko/react-native-keyboard-controller/commit/d7d2ecd43e6642afdecce89b68e05f79023d45f4 got reverted (because global layout animation is overwriting animation managed by onMove handler - i. e. with this fix in place it's not possible to synchronize keyboard movement and animation driven by onMove handler). The proposed solution is to use useKeyboardHandler hook, for example:

const useReanimatedKeyboardAnimation = () => {
  const height = useSharedValue(0);
  
  useKeyboardHandler({
    onMove: (e) => {
      height.value = e.height;
    },
  }, []);
  
  return { height };
}

Check example of js code to see how it should be handled now 👀

react-native-keyboard-controller - Release 1.11.7

Published by kirillzyusko 6 months ago

Most likely last release for 1.11.x version before upcoming 1.12.0 😎

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.11.5

Published by kirillzyusko 7 months ago

react-native-keyboard-controller - Release 1.11.3

Published by kirillzyusko 7 months ago

Just a better revision of a previous release including improvement and fixes for all library aspects, such as documentation, keyboard tracking, build issues, etc. 😊

🐛 Bug fixes

👍 Improvements

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.11.2

Published by kirillzyusko 8 months ago

Release that fixes compilation issues on RN 0.73 (Fabric arch) with static frameworks enabled 👍

🐛 Bug fixes

🔢 Miscellaneous

react-native-keyboard-controller - Release 1.11.1

Published by kirillzyusko 8 months ago