I have been having some issues on a couple of projects with the Combobox component. I have attached two images below the first is the Combobox just as the page is loaded (which is as it should be), It is currently filled with one object which is a String.
Once I have clicked the arrow then clicked the string the 2nd image happens.
The correct object is selected but the arrow has disappeared.
I thought that this could be to do with the size of the layout that is it on and the layout could be shrinking as it isn’t a set size making the arrow disappear. This wasn’t the case as adding other components next to the Combobox still makes the arrow disappear and the components stay visible.
This has also happened on a different project I was working on, however this time it was not with selecting an item in a Combobox it was with clicking on popup view next to the combo box this made the arrow disappear.
The arrow will reappear if I click on the combo box and start typing a valid entry and then select it.
If I insert a long label in front of the combo box this solves the mysterious disappearing arrow.
Any possible solutions you can give would be much appreciated,
Thanks
Damian 11485.bmp (23 KB) 11486.bmp (27.9 KB)
What version of Vaadin are you using? Do you have any custom theme in use, which extends Runo? If you have, try the application with plain Runo, and see if it still happens (add url parameter ?theme=runo for to test it quickly).
i was using a custom theme that extended runo but i havent made any changes to the combobox css. I have tested the issue with only the runo theme and the arrow still disappears.
My version of vaadin is 6.4.3.
ive noticed it also does when clicking a popup view on the page.
If i have 2 comboboxes next to each other it will only make one of the arrows disappear?
Hello,
Thanks for all you help Jouni.
I tried to get a simple code example for you but i couldnt it only worked in my application.
I have now updated my version or vaadin and this has fixed my problem. So im not sure what the fix was but thanks
Damian
This still happens for me using vaadin 6.5.2, runo theme and chromium browser.
See bug with attached trivial sample app: http://dev.vaadin.com/ticket/6585
It turns out that it is related to zooming in my case. (thanks Artur Signell)
Zooming up or down fixes it, but I still have the problem on some zoom levels eg. 120%
(in Chromium 8.0.552.237 (70801) Ubuntu 10.10)
This only happens on our production server after running for a few hours (or perhaps it’s activity/views that’s doing it). I’ve been unable to track down what exactly is causing it.
Restarting the server fixes the problem but it randomly appears again.
Here is the generated html for the auditor selector,
I have tried to hack up the html to enable it again. With the read only removed you can enter text into the box but the drop down and search functionality doesn’t work and it just looks like a plain html . Also as per the code snippet there is part of the code that isn’t even being generated…
We are experiencing the same problem in IE9. It looks like the arrow moves down. It is not visible but when I click at the right bottom corner of the combo, it opens. I have two columns of combo boxes - combos in one column have the issue and combos in second column are fine. It’s weird, since all combos are created in the same way. We are using Vaadin 6.8.10, JDK 6, Tomcat 5.5.35.
I have applied CSS that Ryan How posted and it is fine. So many tanks Ryan…
Is the page zoomed to something else than 100%? That is the only situation where I’ve seen something like that in the past.
Is this reproducible with the default themes without any customization. If not, the problem is most likely somewhere in your theme.
Of course, this should not happen at least with the standard themes, so please
file a bug report with information on how to reproduce this and a minimal UI class with which this can be reproduced if not reproducible e.g. in public demos.
I am having a similar issue. If I use the
setWidth() function on my ComboBox then the arrow on the right disappears!
If I don’t call it then it looks fine… Does anyone have any idea why?
Firefox 26.0
Vaadin 7.1.10
Java 1.7
TomEE Plus 1.6.0