We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2d5a7bb commit 513b3b9Copy full SHA for 513b3b9
1 file changed
packages/editor/src/bundle/toolbar/ToolbarSelect.tsx
@@ -41,7 +41,9 @@ export const ToolbarSelect: React.FC<ToolbarSelectProps> = ({
41
view="clear"
42
className={className}
43
disablePortal={disablePortal}
44
- onOpenChange={focus}
+ onOpenChange={(open) => {
45
+ if (!open) focus();
46
+ }}
47
value={activeItem ? [activeItem.id] : undefined}
48
options={items.map<SelectOption>((item) => ({
49
data: item,
0 commit comments