fix typo in useFixSafariDoubleTapZoomPencilEvents.ts (#2242)
occuring -> occurring ### Change Type - [ ] `patch` — Bug fix - [ ] `minor` — New feature - [ ] `major` — Breaking change - [ ] `dependencies` — Changes to package dependencies[^1] - [x] `documentation` — Changes to the documentation only[^2] - [ ] `tests` — Changes to any test code only[^2] - [ ] `internal` — Any other changes that don't affect the published package[^2] - [ ] I don't know [^1]: publishes a `patch` release, for devDependencies use `internal` [^2]: will not publish a new version ### Test Plan 1. Add a step-by-step description of how to test your PR here. 2. - [ ] Unit Tests - [ ] End to end tests ### Release Notes - Add a brief release note for your PR here.
This commit is contained in:
parent
8c3383a9d5
commit
263c04e6bf
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export function useFixSafariDoubleTapZoomPencilEvents(ref: React.RefObject<HTMLE
|
||||||
;(e as any).isKilled = true
|
;(e as any).isKilled = true
|
||||||
const { target } = e
|
const { target } = e
|
||||||
|
|
||||||
// Allow events to propagate if the app is editing a shape, or if the event is occuring in a text area or input
|
// Allow events to propagate if the app is editing a shape, or if the event is occurring in a text area or input
|
||||||
if (
|
if (
|
||||||
IGNORED_TAGS.includes((target as Element).tagName?.toLocaleLowerCase()) ||
|
IGNORED_TAGS.includes((target as Element).tagName?.toLocaleLowerCase()) ||
|
||||||
editor.isIn('select.editing_shape')
|
editor.isIn('select.editing_shape')
|
||||||
|
|
Loading…
Reference in a new issue