Auto-complete Combobox in the bottom of the browser doesn't sync dropdown position well

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Normal
    • 6.5.4
    • Affects Version/s: 6.5.3
    • Component/s: Components
    • Security Level: Jimmy
    • None
    • None

      http://screencast.com/t/uZgi1AVxcunu

      <zk>
      	<zscript><![CDATA[
      		class ItemComparator implements Comparator {
      			public int compare(Object text, Object label) {
      			    String val = text.toString().toLowerCase();
      		
      			    if (val.isEmpty()) return 0;
      			    return label.toString().toLowerCase().startsWith(val)? 0: -1;
      			}
      		}
      		
      		List list = new ArrayList();
      		list.add("01");
      		list.add("02");
      		list.add("03");
      		ListModel model = ListModels.toListSubModel(
      				new ListModelList(list), new ItemComparator(), 10);
      	]]></zscript>
      	<div height="900px"></div>
      	<combobox model="${model}" 
      		autodrop="true" autocomplete="false">
      	</combobox>
      </zk>
      

            Assignee:
            RaymondChao
            Reporter:
            jimmyshiau
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: