6549ab70e2
Fixes https://github.com/tldraw/tldraw/issues/2357 This PR fixes not being able to close the context menu by clicking - your selected shape - the ui It seems like the Radix's `modal` setting causes trouble for us. I think we're better off turning it off. We now show an indicator on hovered shapes when the context menu. This is consistent with how our other menus currently work. ![2023-12-19 at 14 19 14 - Cyan Bovid](https://github.com/tldraw/tldraw/assets/15892272/88b492c2-8f3b-40bc-9dec-744fe72cda3b) ![2023-12-19 at 14 21 36 - Amaranth Vulture](https://github.com/tldraw/tldraw/assets/15892272/1f19751d-499b-40c3-9b28-9f41a2f27ab2) ### 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 ### 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 - Fix not being able to close the context menu by clicking on the UI or your selected shape. --------- Co-authored-by: Steve Ruiz <steveruizok@gmail.com> |
||
---|---|---|
.. | ||
api.json |