Focus-trap: Use allowOutsideClick where appropriate
This commit is contained in:
parent
048e1e4cd7
commit
d542f450a1
3 changed files with 16 additions and 3 deletions
|
@ -148,7 +148,11 @@ export const StickerPicker = React.memo(
|
|||
const showLongText = showPickerHint;
|
||||
|
||||
return (
|
||||
<FocusTrap>
|
||||
<FocusTrap
|
||||
focusTrapOptions={{
|
||||
allowOutsideClick: true,
|
||||
}}
|
||||
>
|
||||
<div className="module-sticker-picker" ref={ref} style={style}>
|
||||
<div className="module-sticker-picker__header">
|
||||
<div className="module-sticker-picker__header__packs">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue