Combobox vs mentions #537
Answered
by
zbeyens
karthikcodes6
asked this question in
Q&A
-
I see there is a new Combobox in stories but I don't know what exact different between the mentions and this. Also, the codebase looks complex any explanations would be helpful. |
Beta Was this translation helpful? Give feedback.
Answered by
zbeyens
Mar 3, 2021
Replies: 1 comment 3 replies
-
Combobox is more robust as it's using the popular downshift but it's not yet ready to be released. As we need only one combobox per editor (singleton), we're also using a global zustand store, so the same combobox can be used by multiple plugins as We'll replace the mention plugin by the combobox in the short term. |
Beta Was this translation helpful? Give feedback.
3 replies
Answer selected by
zbeyens
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Combobox is more robust as it's using the popular downshift but it's not yet ready to be released.
As we need only one combobox per editor (singleton), we're also using a global zustand store, so the same combobox can be used by multiple plugins as
TagPlugin
is doing.We'll replace the mention plugin by the combobox in the short term.