cursor position change when using ArrowDown
/ArrowUp
in n-auto-complete
#6795
Labels
untriaged
need to sort
ArrowDown
/ArrowUp
in n-auto-complete
#6795
Describe the bug
When using the
n-auto-complete
component, pressing the keyboardArrowDown
/ArrowUp
to navigate through dropdown options causes the cursor position in the input field to unexpectedly change.For example, if the cursor is initially positioned in the middle of the input text, after pressing
ArrowDown
, the cursor jumps to the end of the text, disrupting the user's typing experience.Steps to reproduce
test example
)test| example
)Link to minimal reproduction
https://www.naiveui.com/en-US/os-theme/components/auto-complete
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: