Exploit.cz
Recepty.eu Terraform Kubernetes example Curriculum vitae LinkedIn Profile Github Profile
Mar 4, 2020 1 min read javascript

How to Auto Scroll in long Autocomplete list when keyPress Up and Down

How to Auto Scroll in long Autocomplete list when keyPress Up and Down

You have to add attribute tabindex="-1" and set .focus() on active element.

Look at my patch here https://github.com/ashokvishwakarma/preact-typeahead/commit/2dc53c3c5abc37b1a0428889917608a4a0740123

autofocus to selected element · ashokvishwakarma/[email protected]
A TypeHead component for Preact. Contribute to ashokvishwakarma/preact-typeahead development by creating an account on GitHub.
GitHubashokvishwakarma

Published by:

insekticid
Share Tweet
Exploit.cz © 2023
Published with Ghost