Skip to content

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

@mukherjeesudebi

Description

@mukherjeesudebi

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

Metadata

Metadata

Assignees

Type

No type

Projects

Status

✅ Closed

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions