Skip to content

Commit d468aaf

Browse files
authored
Merge pull request #4408 from udecode/claude/issue-3853-20250626_140221
2 parents ee3adca + da63fb3 commit d468aaf

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

apps/www/src/registry/ui/inline-combobox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const InlineCombobox = ({
124124
}, [editor, element]);
125125

126126
const { props: inputProps, removeInput } = useComboboxInput({
127-
cancelInputOnBlur: false,
127+
cancelInputOnBlur: true,
128128
cursorState,
129129
ref: inputRef,
130130
onCancelInput: (cause) => {

docs/components/changelog.mdx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@ Use the [CLI](https://platejs.org/docs/components/cli) to install the latest ver
1010

1111
## June 2025 #23
1212

13+
### June 26 #23.7
14+
- `inline-combobox`: Fixed combobox not closing when clicking outside the editor
15+
1316
### June 24 #23.6
1417
- `transform.ts`: add `toggleCodeBlock` to `setBlockMap`. Fix the structural error of the code_block created by `turn-into-toolbar-button.tsx`.
1518

templates/plate-playground-template/src/components/ui/inline-combobox.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ const InlineCombobox = ({
124124
}, [editor, element]);
125125

126126
const { props: inputProps, removeInput } = useComboboxInput({
127-
cancelInputOnBlur: false,
127+
cancelInputOnBlur: true,
128128
cursorState,
129129
ref: inputRef,
130130
onCancelInput: (cause) => {

0 commit comments

Comments
 (0)