Search code examples
javainternet-explorercomponentscompatibilityvaadin

Vaadin caption invisible in IE


I got the problem with display caption of components which are setEnabled to false - the caption for example is not visible or so much white:

enter image description here

I don't have this problem in Firefox.

Example above: I created a class which extends FormLayout and put some components like TextField, CheckBox, then the whole panel is setEnabled(false/true).

How can I make the caption visible in IE?


Solution

  • the solution for IE is set custom CSS style

    .v-disabled {
    opacity: black !important;
    efilter: alpha(opacity=80);
    }