I am in a situation where I need to show a spinner in the UI.
By consequence I manually push that change to the UI by doing:
UI.getCurrent().push();
The cause I need to do this is that before I navigate to a view I want to show a spinner as some views could contain heavy computations before they are finished to show.
Unfortunately, if i collapse the SliderPanel and show the spinner using push, the SilderPanel gets visible again after the view is visible.
Hello,
I am in a situation where I need to show a spinner in the UI. By consequence I manually push that change to the UI by doing:
UI.getCurrent().push();
The cause I need to do this is that before I navigate to a view I want to show a spinner as some views could contain heavy computations before they are finished to show.
Unfortunately, if i collapse the SliderPanel and show the spinner using push, the SilderPanel gets visible again after the view is visible.
I attached a minimum sample: push-example.zip