fix(ui): chat input triggers correctly re-trigger on backspace (#22899)

This commit is contained in:
G30 2026-03-20 16:48:25 -04:00 committed by GitHub
parent c81b3ef9ce
commit 6089a55da6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -22,7 +22,7 @@ export function getSuggestionRenderer(Component: any, ComponentProps = {}) {
component: Component,
target: container,
props: {
char: props?.text,
char: props?.text?.charAt(0),
query: props?.query,
command: (item) => {
props.command({ id: item.id, label: item.label });