@stream-io/video-react-sdk 1.2.8 → 1.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +7 -0
- package/dist/index.cjs.js +3 -2
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +3 -2
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Menu/MenuToggle.tsx +1 -0
package/package.json
CHANGED
|
@@ -110,6 +110,7 @@ export const MenuToggle = <E extends HTMLElement>({
|
|
|
110
110
|
|
|
111
111
|
const handleKeyDown = (event: KeyboardEvent) => {
|
|
112
112
|
if (
|
|
113
|
+
event.key && // key can be undefined in some browsers
|
|
113
114
|
event.key.toLowerCase() === 'escape' &&
|
|
114
115
|
!event.altKey &&
|
|
115
116
|
!event.ctrlKey
|