chore: generate
parent
91ed101378
commit
59ed8ccbd8
|
|
@ -503,7 +503,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
),
|
||||
)
|
||||
|
||||
// Auto-scroll active command into view when navigating with keyboard
|
||||
// Auto-scroll active command into view when navigating with keyboard
|
||||
createEffect(() => {
|
||||
const activeId = slashActive()
|
||||
if (!activeId || !slashPopoverRef) return
|
||||
|
|
@ -513,7 +513,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
|
|||
element?.scrollIntoView({ block: "nearest", behavior: "smooth" })
|
||||
})
|
||||
})
|
||||
|
||||
|
||||
createEffect(
|
||||
on(
|
||||
() => prompt.current(),
|
||||
|
|
|
|||
Loading…
Reference in New Issue