mirror of
https://github.com/ueberdosis/tiptap.git
synced 2025-01-19 14:53:00 +08:00
This commit is contained in:
parent
c076a0e3bb
commit
8a55cdd2c3
5
.changeset/rare-trainers-reflect.md
Normal file
5
.changeset/rare-trainers-reflect.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"@tiptap/extension-mention": patch
|
||||
---
|
||||
|
||||
Mentions would sometimes not show up if one was declined and a new one followed afterward. Was introduced by PR (#4380)
|
@ -195,7 +195,7 @@ export function Suggestion<I = any, TSelected = any>({
|
||||
const stopped = prev.active && !next.active
|
||||
const changed = !started && !stopped && prev.query !== next.query
|
||||
|
||||
const handleStart = started
|
||||
const handleStart = started || (moved && changed)
|
||||
const handleChange = changed || moved
|
||||
const handleExit = stopped
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user