-
FEATURED COMPONENTS
First time here? Check out the FAQ!
I have a combobox with autodrop="true" so it automatically opens on the first entered letter. That works. But the autocomplete doesn't work as expected. When the combobox is opened, it doesn't scroll the autocompleted item into view. Which for me would be the expected behaviour. I had the same problem with ZK 5, now I updated to ZK 8 and it seems that there is still the same behaviour? Am I doing something wrong (since years) or is that really the intended behaviour?
With the same ugly fix as i Used in ZK 5 it works (some javascript, see fiddle). But the in viewed scrolled item, is at the bottom of the viewable list not at the top, as most application would do it. Here a short zk fiddle to show the behaviour. The first combobox as it is, where it doesn't scroll the item into view, the second one where it does (with the ugly fix)
http://zkfiddle.org/sample/1hol4o3/2-Combobox-jumping-to-autocompleted-text
Somebody could tell me if that is the indented behaviour, if I'm doing something wrong and if there exists a better solution? thanks a lot in advance :-)
Asked: 2017-01-18 14:35:19 +0800
Seen: 47 times
Last updated: Mar 07 '17