fix bug in suggestion extension, fix #143
This commit is contained in:
@@ -101,16 +101,16 @@ export function Suggestion({
|
||||
clientRect: () => decorationNode?.getBoundingClientRect() || null,
|
||||
}
|
||||
|
||||
if (handleStart) {
|
||||
renderer?.onStart?.(props)
|
||||
if (handleExit) {
|
||||
renderer?.onExit?.(props)
|
||||
}
|
||||
|
||||
if (handleChange) {
|
||||
renderer?.onUpdate?.(props)
|
||||
}
|
||||
|
||||
if (handleExit) {
|
||||
renderer?.onExit?.(props)
|
||||
if (handleStart) {
|
||||
renderer?.onStart?.(props)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user