tldraw/packages
Lu Wilson 5feccecb56
Firefox, Touch: Fix not being able to open style dropdowns (#2092)
This PR places a bandaid over a radix issue.

On firefox, when using a touch screen, certain dropdowns in the style
menu would immediately close after opening. This is because the
'touchup' event was closing them.

We can do a dodgy fix by preventing the touch up event.

### Change Type

- [x] `patch` — Bug fix

### Test Plan

1. On firefox, use a touch device (this can be firefox devtools on a
mac)
2. Draw an arrow and a geo shape.
3. Select both of them.
4. Open the style menu.
5. Make sure you can open the arrowhead dropdown.
6. Make sure you can open the geo shape type dropdown.

### Release Notes

- Firefox Mobile: Fixed a bug where you couldn't open some style
dropdown options.
2023-10-17 13:19:05 +00:00
..
assets Add offline indicator (also to top zone example) (#2083) 2023-10-17 08:32:41 +00:00
editor [fix] Context menu + menus not closing correctly (#2086) 2023-10-17 13:06:53 +00:00
state Update CHANGELOG.md [skip ci] 2023-10-11 10:42:50 +00:00
store bump nanoid (#2078) 2023-10-16 08:44:12 +00:00
tldraw Firefox, Touch: Fix not being able to open style dropdowns (#2092) 2023-10-17 13:19:05 +00:00
tlschema bump nanoid (#2078) 2023-10-16 08:44:12 +00:00
utils Update CHANGELOG.md [skip ci] 2023-10-11 10:42:50 +00:00
validate Update CHANGELOG.md [skip ci] 2023-10-11 10:42:50 +00:00