Fix keyboard events while menu is open.

This commit is contained in:
Steve Ruiz 2022-05-20 15:22:50 +01:00
parent 9d8c4888f3
commit eca66b1c54
7 changed files with 42 additions and 3 deletions

View file

@ -1,5 +1,17 @@
## 1.2.4
## 1.13.3
### Patch Changes
- Fix keyboard events when style menu is open.
## 1.13.2
### Patch Changes
- Move style panel to right corner.
## 1.13.1
### Patch Changes

View file

@ -2,7 +2,7 @@
"name": "tldraw-vscode",
"displayName": "tldraw",
"description": "The tldraw Extension for VS Code.",
"version": "1.13.1",
"version": "1.13.3",
"license": "MIT",
"publisher": "tldraw-org",
"repository": {

View file

@ -1,5 +1,19 @@
# @tldraw/www
## 1.6.5
### Patch Changes
- Updated dependencies
- @tldraw/tldraw@1.14.2
## 1.6.4
### Patch Changes
- Updated dependencies
- @tldraw/tldraw@1.14.1
## 1.6.3
### Patch Changes

View file

@ -1,6 +1,6 @@
{
"name": "@tldraw/www",
"version": "1.6.3",
"version": "1.6.5",
"private": true,
"description": "A tiny little drawing app (site).",
"repository": {

View file

@ -1,5 +1,17 @@
# Changelog
## 1.14.2
### Patch Changes
- Fix keyboard events when style menu is open.
## 1.14.1
### Patch Changes
- Move style panel to right corner.
## 1.14.0
### Minor Changes

View file

@ -1,6 +1,6 @@
{
"name": "@tldraw/tldraw",
"version": "1.14.0",
"version": "1.14.2",
"description": "A tiny little drawing app (editor)",
"author": "@steveruizok",
"repository": {

View file

@ -197,6 +197,7 @@ export const StyleMenu = React.memo(function ColorMenu() {
dir="ltr"
onOpenChange={handleMenuOpenChange}
open={keepOpen ? true : undefined}
modal={false}
>
<DropdownMenu.Trigger asChild id="TD-Styles">
<ToolButton variant="text">