We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6856a27 commit 5e1e085Copy full SHA for 5e1e085
src/components/KeyboardCompatibleView/KeyboardCompatibleView.js
@@ -31,11 +31,13 @@ export const KeyboardCompatibleView = ({
31
32
const [initialHeight, setInitialHeight] = useState(0);
33
34
- const [channelHeight, isKeyboardOpen] = useKeyboardCompatibleHeight({
35
- enabled,
36
- initialHeight,
37
- rootChannelView,
38
- });
+ const { height: channelHeight, isKeyboardOpen } = useKeyboardCompatibleHeight(
+ {
+ enabled,
+ initialHeight,
+ rootChannelView,
39
+ },
40
+ );
41
42
useEffect(() => {
43
Animated.timing(heightAnim, {
0 commit comments