vaadin / multiplatform-runtime

4 stars 1 forks source link

Loading indicator keeps blinking when setVisible is set to false for fields that extends AbstractField #129

Closed mukherjeesudebi closed 12 months ago

mukherjeesudebi commented 1 year ago

Description of the bug

ColorPicker/DateField/TextField when used inside LegacyWrapper and setVisible(false) is called on it then the loading indicator keeps blinking and other components are not interactive anymore

Minimal reproducible example

ColorPicker colorPicker = new ColorPicker();
colorPicker.setVisible(false); 
LegacyWrapper wrap = new LegacyWrapper(colorPicker);
add(wrap);

reproducible using TextField and DateField too

Expected behavior

The loading indicator should not keep blinking and all other components should work as expected.

Actual behavior

The loading indicator keeps blinking and other components do not respond. For example, a button not responding to click.

Versions

Tested using the below versions : Vaadin Framework - 8.18.0 Flow - 9.1.5 MPR - 22.1.0 Java - 8