Keyboard manager which works in identical way on both iOS and Android
MIT License
Bot releases are hidden (Show)
Published by kirillzyusko about 1 month ago
Release that improves the stability of the library in certain cases 😎
KeyboardProvider
is not fully mounted yet (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/961e8a1ab0ef00ad76c0d55b2ad7cd8afcd00644)StrictMode
enabled (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/e5b7476f80c3009d7c08891ac68ff2ba8046d8b9)ccache
instead of buildcache
on CI iOS builds (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/a64f2ebd8bd77ac8feac56ed3ec1f8d7ae93bdb7)Published by kirillzyusko about 2 months ago
Release that fixes some bugs and improving stability of the library in various environments 👍
parentScrollViewTarget
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/127a15bff6de000d23d8d65194d832293dfa425b)useAnimatedKeyboard
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/26f54e00859e258ec39e6a23712c0cb75796e5c9)BottomTabBarRotation
e2e test (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/d6143db6254bedce2fa337474b44fe6b146c6c88)Published by kirillzyusko about 2 months ago
Release that fixes a problem of incorrect height
value arriving in onEnd
handler or keyboardDidShow
event 😎
keyboardDidAppear
if event is happening during the animation (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/9b5510d694c2119be6ec86a706aadf2e726bb017)KeyboardMovementObserver
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/66f3e427d0ce217f7025a3abe66ef6543ac26618)0.75.2
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/1dceb429630668c6c4dcb891ac500967daeb08cf)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 😅
module
build (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/2c460d3098cb56efa573e10f9a1c7af78df6c4c2) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/551
Published by kirillzyusko 2 months ago
Release that allows to use the functionality of this library in Modal
s 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 🎉
ref
deallocation with FlatList
-> KeyboardAwareScrollView
usage (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/e79dbc7ed36f21ace5730ef060e3a11e547bbcd3) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/525
KeyboardToolbar
accessibility wording (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/ef2f58c0a642aeefd477f937b6e31e2c81a2019d)KeyboardAvoidingView
keeping bottom space (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/6861faf60e21167458cb2306e74a527caded3731)StatusBar.translucent
changes (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/265b93cb4f5dd1056b144ce28db99178bc1b5656) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/526
offset
prop for KeyboardGestureArea
on Android (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/2f901a9e368986cb10427c7e271e92d1533d79c3)react-native
version 0.75
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/c2a635b7f823640d9aff060ef2b2476af364399c)KeyboardToolBarTheme
type example (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/1bce3c8ab43f422984c70e0549bdb6318a570b89)react-native-reanimated
version (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/23b0466a6a0786cacac3b0a7ed167ccc41c348cc)1.13.0
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/b4eef457d7bd133f6cfef7292f66c377c969f2e2)1.13.0
docs (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/7fcb6b719a94d72e38eded2a34dccd67e7f2afcb)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.
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 👀
ViewController
for KeyboardToolbar
when modal is shown (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/1e446dcec64bfc474dc8be4e4d9665c91604270f)KeyboardAwareScrollView
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/7af6fac0cf95ac8aac3b54109135d3df7d317cb3)KeyboardAvoidingView
e2e tests (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/85ca03c2c488caf137bf106c9bd4a762b5372469)npm
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/8fc2303f1165d3df06cf93bc2fcd81c3cb110ed5)react-compiler
rules violations (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/dce5a5741d701789fb97d852439b83f9ab1c2d7d)Published by kirillzyusko 3 months ago
Less bugs, better stability 🚀
contextMenuHidden
prop on iOS properly (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/887b11071420c178ed40397c92c63421cc5f672c)onScroll
handler for KeyboardAwareScrollView
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/35a6e2af0b9edd77e7d465a28294ba45b38893e9)KeyboardAwareScrollView
gets mounted faster than first windowDidResize
event gets received (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/3bda77c0c457dd144ed2eb9b9fe548a02a89d030);google_apis
device in e2e tests (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/4b6a06d91779e7c846270a6e6072392bcdfcccb9)[!NOTE]
Starting from this version minimal supportedreact-native-reanimated
version is2.11.0
.
Published by kirillzyusko 4 months ago
Another release improving stability of 1.12
😎
KeyboardAwareScrollView
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/6825c256a472ee1718d484d84b9dbd0fc93c7a64)WindowDimensionListener
per context (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/6e3e0af633da129a8d2b91746161cdde0334fe4e) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/486
react-native
to 0.74.3
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/a029a51c81cfac1dc23637cb5df4600ea0c671e8)Published by kirillzyusko 4 months ago
Just another release that contains some important bug fixes 😊
KeyboardAwareScrollView
during re-render (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/21eff3b3372fbd1e7528027b31423ba648512345) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/476 https://github.com/kirillzyusko/react-native-keyboard-controller/issues/384
react-native-reanimated
to 3.12.1
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/2f63fea3e040b5adf3b055e5d92f8a7f2077d75f)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 💪
snapPoints
scroll calculations for KeyboardAwareScrollView
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/56400dbcfda8e1117c942d091bb267f574344132)navigationBar
height in keyboard size if navigationBar
is translucent
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/97d504d0a937a59a87f3e0fc63f669dbc3b402f5)snapToOffsets
in KeyboardAwareScrollView
by @kgni (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/30617a9dfe968550da71ea4207137b2b393d3c50) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/450
useWindowDimensions
hook (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/817127f70fee265760261f7046ce3e8b9d9ddbb7) closes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/434 https://github.com/kirillzyusko/react-native-keyboard-controller/issues/334
tips
and info
badges for KeyboardAwareScrollView
page in docs (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/1d2cfbd4a80e58235f3e5161bb72f5b79fef7765)KeyboardAware
types in BottomSheet
integration section docs (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/8249e48b786a6bc2c2e85f72751ebea2f870d00d)softwareKeyboardLayoutMode
in docs (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/4361c2e7a4eba7493a1ae6efe2e1f09fa14bbd54)Published by kirillzyusko 5 months ago
Release that improves stability of 1.12.0
👀
UIScrollView
detection (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/c8ff1cf7e4b271f345973fc5e292f3c5f1cf103f)extraKeybordSpace
property for KeyboardAwareScrollView
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/bd66950d711aebdecb7782431e8338eb5b65d504)Published by kirillzyusko 5 months ago
Release that improves stability of 1.12.0
🚀
ScrollView
for parentScrollViewTarget
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/f57246749d02e884f2caad1da49e1d36d5c91fd8)keyboardWillHide
and KVO
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/365f4c1743c2d42275b8f014eb12d6d692f3bbff)KeyboardAwareScrollView
+ @gorhom/bottom-sheet
integration in docs (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/33853e1d1c615123bbc8cfe7cf4e1d1f941ef737)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 😎
KeyboardToolbar
callbacks (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/7d2ccb57a8eb6c9382740d4113a0f5815b84bb04)KeyboardToolbar
blur (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/b9da9adfa0db02295ed9c44d9b88bce4b9416db7)bridgless
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/590ff6e2348aeb2c4bff0a9ac852a0afcf411cd2)onMove
handler on iOS (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/27da1d09b2ad5aad843c41fb4b18cc15ec57122d)KeyboardAnimation
as common interface for an animation driver (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/54a047330df566fe3022b75f7657431b7693d5fd)onSelectionChange
handler (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/810efdb19890edd2f5e492d34c1d40ebf011f1a4)onChangeText
events from delegate (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/427c26c8edeba805137cbcffcee12ea1844908dd)react-native-reanimated
is a mandatory dependency right now (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/0c90ac8e008f2f1aee8465767cf00535efb9644d)avoid keyboard
keyword, update SEO keywords, fix flaky docs e2e tests (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/a3538f99c6e55e6fbcdcebd6f56c0d318daf9819)ReanimatedChatFlatlist
directory from FabricExample app (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/acacd10c33f6dcc119b4701b4516da0ecd809f53)ModalExample
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/ddc6c376000c00f994cc8cd4a6526776ae514589)KeyboardAwareScrollView
+ FlatList
integration in documentation (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/065e4db3b13f30747c09fda3b5d8a804fb0221c6)1.12.0
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/3be37df7d9b10ac6656b7a6c7ba07d5c55a82d02)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 👀
Published by kirillzyusko 6 months ago
Most likely last release for 1.11.x
version before upcoming 1.12.0
😎
enabled
property toggle when keyboard open in KeyboardAwareScrollView
component (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/e2d73107912ce21a19ce34a1442ff3ce0e6af301)xcodeproj
from the library (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/7678eec40096f90dc815b0f4fa433e290dd9a91a)Published by kirillzyusko 7 months ago
Another minor release that focuses on improving the stability of the library 👀
onScroll
event in KeyboardAwareScrollView
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/e0a6c093cd016ad81a590dcb60d0f337aefd2123) fixes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/337
Published by kirillzyusko 7 months ago
Small release resolving some bugs 👀
keyboardShouldPersistTaps
property (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/d7d2ecd43e6642afdecce89b68e05f79023d45f4) fixes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/307
KeyboardAvoidingView
frame if screen pushed while keyboard stays open (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/1e711e84182d7a1a9e6db1f2da9680142db238b9) fixes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/398
Published by kirillzyusko 7 months ago
Just another minor release 😎
KeyboardAvoidingView
is not reacting on keyboard movements if was mounted when keyboard is open (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/8a853a1e01b58ef1f44325c864f38a910b2daa21)react-native
package workletization (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/b33d20fd80a97f1670cd96b8e5cd743b76941d7f) fixes https://github.com/kirillzyusko/react-native-keyboard-controller/issues/393 https://github.com/kirillzyusko/react-native-keyboard-controller/issues/294
findKeyboardView
in separate file (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/22f6de89cee96e5d917b633cf2903961394dc5ee)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. 😊
target
property from onLayout
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/d8d09cb73b34a7f9b208466e02d6f0a759ce50b6)showArrows
property for KeyboardToolbar
(https://github.com/kirillzyusko/react-native-keyboard-controller/commit/18fac6fd2a88ad654d2801435627963b9812555a)windowSoftInputMode
and its cooperation with this library (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/ae5d4f0e1b4eaaf190a36112ef4216c65733925b)Published by kirillzyusko 8 months ago
Release that fixes compilation issues on RN 0.73 (Fabric arch) with static frameworks enabled 👍
install_modules_dependencies
to fix compilation issues on RN 0.73 with Fabric (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/a303db78e9dba9f761f443302258c1a1d82ef39d)FocusedInputHolder
tests on Android (https://github.com/kirillzyusko/react-native-keyboard-controller/commit/667351bd56f32249bf9020ab4479fef387746b01)Published by kirillzyusko 8 months ago
Release that fixes a crash on web 🤫