Skip to content

Commit ad42418

Browse files
committed
1 parent 99e70c9 commit ad42418

File tree

1 file changed

+5
-1
lines changed
  • packages/frontend/core/src/blocksuite/presets/ai/_common/components

1 file changed

+5
-1
lines changed

packages/frontend/core/src/blocksuite/presets/ai/_common/components/ask-ai-button.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export class AskAIButton extends WithDisposable(LitElement) {
5252
.ask-ai-button {
5353
border-radius: 4px;
5454
position: relative;
55+
user-select: none;
5556
}
5657
5758
.ask-ai-icon-button {
@@ -110,7 +111,10 @@ export class AskAIButton extends WithDisposable(LitElement) {
110111
},
111112
};
112113
},
113-
{ allowMultiple: true }
114+
{
115+
allowMultiple: true,
116+
enterDelay: 100,
117+
}
114118
);
115119

116120
@property({ attribute: false })

0 commit comments

Comments
 (0)