From 09de7827cf621d87573df22517629cdc511bee9d Mon Sep 17 00:00:00 2001 From: krishna2323 Date: Fri, 2 Aug 2024 13:24:50 +0530 Subject: [PATCH] fix: Cannot search for emojis in status page. Signed-off-by: krishna2323 --- src/components/EmojiPicker/EmojiPicker.tsx | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/components/EmojiPicker/EmojiPicker.tsx b/src/components/EmojiPicker/EmojiPicker.tsx index 777d77a2411b..aa6c3e8dfdfb 100644 --- a/src/components/EmojiPicker/EmojiPicker.tsx +++ b/src/components/EmojiPicker/EmojiPicker.tsx @@ -1,8 +1,8 @@ import React, {forwardRef, useCallback, useEffect, useImperativeHandle, useRef, useState} from 'react'; import type {ForwardedRef, RefObject} from 'react'; -import {Dimensions} from 'react-native'; -import type {View} from 'react-native'; +import {Dimensions, View} from 'react-native'; import type {Emoji} from '@assets/emojis/types'; +import FocusTrapForModal from '@components/FocusTrap/FocusTrapForModal'; import PopoverWithMeasuredContent from '@components/PopoverWithMeasuredContent'; import type {BaseTextInputRef} from '@components/TextInput/BaseTextInput/types'; import withViewportOffsetTop from '@components/withViewportOffsetTop'; @@ -221,11 +221,15 @@ function EmojiPicker({viewportOffsetTop}: EmojiPickerProps, ref: ForwardedRef - (emojiSearchInput.current = el)} - /> + + + (emojiSearchInput.current = el)} + /> + + ); }