Skip to content

Commit 6d91467

Browse files
committed
fix:62703: removed condition for shouldUseNarrowLayout
1 parent df22cf0 commit 6d91467

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

src/components/EmojiPicker/EmojiPicker.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,9 +114,8 @@ function EmojiPicker({viewportOffsetTop}: EmojiPickerProps, ref: ForwardedRef<Em
114114
* Hide the emoji picker menu.
115115
*/
116116
const hideEmojiPicker = (isNavigating?: boolean) => {
117-
if (shouldUseNarrowLayout) {
118-
blurActiveElement();
119-
}
117+
blurActiveElement();
118+
120119
const currOnModalHide = onModalHide.current;
121120
onModalHide.current = () => {
122121
if (currOnModalHide) {

0 commit comments

Comments
 (0)