In our app we have getLoadingIndicatorConfiguration().setFirstDelay(1500)
But in some places logo appears not in 1,5s but later about 4s or more. When we tried setting delay less value we observed logo appearing after entering any symbol in text fields where we have valueChangeListener
or make refreshAll
for grid. So how it works: for example delay is 300ms -> we enter some text to field -> interrupt -> request is sent to server side -> it takes more then 300ms -> logo appears. So we set delay 1500ms. But it lead to the problem I described at the beginning.
My question is if it is possible to set different delay for different layouts or elements?
Probably someone knows in detail how logo works? I think It should work in the following way: after button click logo should appear and request and other things are done in background and only after we got response and done other things logo disappears. But, it seems to me that request and logo are run in parallel. I mean that when we click button -> timer run for logo starts -> request is sent -> timer end -> but logo appear after 4s or 5s or 6s, but not after 1.5s and I don't know why