When opening a window I get a strange flashing in my app.
What exactly happens is that when window opens, rest of screen turns grey, like normal when the window is modal, and then turn momentarily white and immediately again grey.
Like, after the window is attached, it’s looses focus for a moment and gains it back.
Although I noticed that this effect appears in Chrome and not in Firefox.
This is caused by the fade-in animation of the modality curtain in Valo, which has a 100ms delay, but fails to specify the “backwards” keyword for the animation, which would make the style of the modality curtain be the first keyframe value during the delay. Now it is fully visible for the duration of the delay, then the animation starts from 0 opacity and fades to the end opacity.
There’s an easy fix for this, but it hasn’t been patched yet. It’s in the pipeline, hopefully in the next maintenance release.
You can make a local workaround to your own theme like this (mytheme.scss):
I have been trying to fix this exact problem, since the flash that accompanies opening a new window is almost seizure inducing. I tried both of the suggestions above, and I still get the annoying flash. I’m currently using Vaadin 7.3.9, and I have tried the app on both Chrome and IE, and the results are the same.
After compiling the theme, the css file contains what appears to be the correct config for the modalitycurtain animation, but my IDE (NetBeans) reports that the radial-gradient line contains an unreckognized character. That line if prior to the backwards setting, so I’m wondering if that block is not parsed after that error. Here is the compiled css code:
Regarding my previous post - I had included some older animation add-ons in my pom file, when I get rid of those, the flashing stopped.
Thanks again for a great product!
Hi folks. How can I simple disable the Valo loading blink? I’ve
I found in another thread a way to use a “modal” loading indicator that appears after a short period of time, and its working nice, but after some time, it begins to blink (as the original loading progress bar on top), and it will be nice to disable in my use case.