Fix composer focus when using emoji picker and pressing Enter and upgrade focus-trap-react to 10.3.1
Co-authored-by: ayumi-signal <143036029+ayumi-signal@users.noreply.github.com>
This commit is contained in:
parent
dc8c26d1c1
commit
441e9b4e3c
3 changed files with 15 additions and 14 deletions
26
package-lock.json
generated
26
package-lock.json
generated
|
@ -45,7 +45,7 @@
|
|||
"fast-glob": "3.3.2",
|
||||
"filesize": "9.0.11",
|
||||
"firstline": "2.0.2",
|
||||
"focus-trap-react": "9.0.2",
|
||||
"focus-trap-react": "10.3.1",
|
||||
"form-data": "4.0.1",
|
||||
"fs-extra": "11.2.0",
|
||||
"fuse.js": "6.5.3",
|
||||
|
@ -16650,22 +16650,22 @@
|
|||
"license": "ISC"
|
||||
},
|
||||
"node_modules/focus-trap": {
|
||||
"version": "6.9.4",
|
||||
"resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-6.9.4.tgz",
|
||||
"integrity": "sha512-v2NTsZe2FF59Y+sDykKY+XjqZ0cPfhq/hikWVL88BqLivnNiEffAsac6rP6H45ff9wG9LL5ToiDqrLEP9GX9mw==",
|
||||
"version": "7.6.2",
|
||||
"resolved": "https://registry.npmjs.org/focus-trap/-/focus-trap-7.6.2.tgz",
|
||||
"integrity": "sha512-9FhUxK1hVju2+AiQIDJ5Dd//9R2n2RAfJ0qfhF4IHGHgcoEUTMpbTeG/zbEuwaiYXfuAH6XE0/aCyxDdRM+W5w==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"tabbable": "^5.3.3"
|
||||
"tabbable": "^6.2.0"
|
||||
}
|
||||
},
|
||||
"node_modules/focus-trap-react": {
|
||||
"version": "9.0.2",
|
||||
"resolved": "https://registry.npmjs.org/focus-trap-react/-/focus-trap-react-9.0.2.tgz",
|
||||
"integrity": "sha512-ZwhO5by6KG5r3dy48Lk00A1/0zNYw1Z3RZTN6O6kgAPsWFcwTFszOcQ1dLSfM8pIxpS/ttc7wTttJowjVT3jpg==",
|
||||
"version": "10.3.1",
|
||||
"resolved": "https://registry.npmjs.org/focus-trap-react/-/focus-trap-react-10.3.1.tgz",
|
||||
"integrity": "sha512-PN4Ya9xf9nyj/Nd9VxBNMuD7IrlRbmaG6POAQ8VLqgtc6IY/Ln1tYakow+UIq4fihYYYFM70/2oyidE6bbiPgw==",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"focus-trap": "^6.9.4",
|
||||
"tabbable": "^5.3.3"
|
||||
"focus-trap": "^7.6.1",
|
||||
"tabbable": "^6.2.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"prop-types": "^15.8.1",
|
||||
|
@ -28408,9 +28408,9 @@
|
|||
"dev": true
|
||||
},
|
||||
"node_modules/tabbable": {
|
||||
"version": "5.3.3",
|
||||
"resolved": "https://registry.npmjs.org/tabbable/-/tabbable-5.3.3.tgz",
|
||||
"integrity": "sha512-QD9qKY3StfbZqWOPLp0++pOrAVb/HbUi5xCc8cUo4XjP19808oaMiDzn0leBY5mCespIBM0CIZePzZjgzR83kA==",
|
||||
"version": "6.2.0",
|
||||
"resolved": "https://registry.npmjs.org/tabbable/-/tabbable-6.2.0.tgz",
|
||||
"integrity": "sha512-Cat63mxsVJlzYvN51JmVXIgNoUokrIaT2zLclCXjRd8boZ0004U4KCs/sToJ75C6sdlByWxpYnb5Boif1VSFew==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/table": {
|
||||
|
|
|
@ -129,7 +129,7 @@
|
|||
"fast-glob": "3.3.2",
|
||||
"filesize": "9.0.11",
|
||||
"firstline": "2.0.2",
|
||||
"focus-trap-react": "9.0.2",
|
||||
"focus-trap-react": "10.3.1",
|
||||
"form-data": "4.0.1",
|
||||
"fs-extra": "11.2.0",
|
||||
"fuse.js": "6.5.3",
|
||||
|
|
|
@ -405,6 +405,7 @@ export const EmojiPicker = React.memo(
|
|||
<FocusTrap
|
||||
focusTrapOptions={{
|
||||
allowOutsideClick: true,
|
||||
returnFocusOnDeactivate: false,
|
||||
}}
|
||||
>
|
||||
<div className="module-emoji-picker" ref={ref} style={style}>
|
||||
|
|
Loading…
Reference in a new issue