tldraw/packages
Mitja Bezenšek bc832bae6f
Fix an issue with addEventListener in old Safari (pre v14) (#2114)
Seems Safari only added `MediaQueryList: change event` in version 14.
This is a workaround for older versions.

https://developer.mozilla.org/en-US/docs/Web/API/MediaQueryList/change_event

Reported here

https://discord.com/channels/859816885297741824/926464446694580275/1166028196832092282

### Change Type

- [x] `patch` — Bug fix
- [ ] `minor` — New feature
- [ ] `major` — Breaking change
- [ ] `dependencies` — Changes to package dependencies[^1]
- [ ] `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

### Release Notes

- Fixes an issue with `addEventListener` on MediaQueryList object in old
versions of Safari.
2023-10-24 19:47:12 +00:00
..
assets Update CHANGELOG.md [skip ci] 2023-10-17 14:39:34 +00:00
editor Fix an issue with addEventListener in old Safari (pre v14) (#2114) 2023-10-24 19:47:12 +00:00
state Remove (optional) from jsdocs (#2109) 2023-10-20 15:31:50 +00:00
store Update CHANGELOG.md [skip ci] 2023-10-17 14:39:34 +00:00
tldraw fix selection fg transform (#2113) 2023-10-23 12:32:10 +00:00
tlschema Update CHANGELOG.md [skip ci] 2023-10-17 14:39:34 +00:00
utils Update CHANGELOG.md [skip ci] 2023-10-17 14:39:34 +00:00
validate Update CHANGELOG.md [skip ci] 2023-10-17 14:39:34 +00:00