Ui dropdown problem

#1

My ui dropdown will keep go back to highlight item when I try to move to top or bottom of the list. What cause it happen? Please help. thanks.

#2

which version of dashboard are you using ? how are you moving ? when does it move back ? can you share the relevant part of your flow that demonstrates the problem ?

#5

I am using dashboard 2.13.2
when I drop down the list and try to go to bottom, if I do this not quick enough (in one seond), it will go back to original selected option.
Here is my sample flow:

[{"id":"277465dd.a2473a","type":"tab","label":"Flow 2","disabled":false,"info":""},{"id":"3221f63e.3df57a","type":"inject","z":"277465dd.a2473a","name":"","topic":"","payload":"","payloadType":"date","repeat":"","crontab":"","once":true,"onceDelay":0.1,"x":150,"y":120,"wires":[["67aa9821.3b56e8"]]},{"id":"67aa9821.3b56e8","type":"function","z":"277465dd.a2473a","name":"create option items","func":"var item=[];\nfor(i=0;i<=20;i++)\n    item[i] = \"item# \"+i;\nreturn {options:item};","outputs":1,"noerr":0,"x":380,"y":120,"wires":[["125de066.4c012"]]},{"id":"125de066.4c012","type":"ui_dropdown","z":"277465dd.a2473a","name":"","label":"","tooltip":"","place":"Select option","group":"84f788f9.e92e58","order":0,"width":0,"height":0,"passthru":true,"options":[],"payload":"","topic":"","x":580,"y":120,"wires":[[]]},{"id":"84f788f9.e92e58","type":"ui_group","z":"","name":"Default","tab":"bb178844.f24848","disp":true,"width":"6","collapse":false},{"id":"bb178844.f24848","type":"ui_tab","z":"","name":"DropdownTest","icon":"dashboard","disabled":false,"hidden":false}]
#6

and which browser / platform are you viewing this on ?
(so far it's working ok :frowning:

#7

I tried this on Chrome, IE on desktop and Chrome on android phone, they all have such problem.

#8

Are you sure you using exactly that flow ? I can only recreate if I keep hitting the inject button to reload the options.

#9

For example, when I scroll down to the bottom of the list (ex. Item#20), not a while, it will go back to top. So it makes me very difficult to make a selection.

#10

Do you mean there maybe a inject node to refresh the page somewhere?

#11

Yes, this sample also has same problem on various platform.

#12

I'm still not getting it... I can wait for minutes and nothing happens... something else in your flow must be causing a refresh

#13

Ok, thank you very much, at least I know this is not ui problem and I will try to find out the refresh node.

#14

I found out the problem: I have another flow, and there is a UDP node will receive data from device every 2 seconds and display the data to gauge. Dropdown and UDP, Gauge are not on the same tag, same page, but still causes whole site refresh. How can I solve this? thanks.