There shouldn't be any delay.
It seems to me that there's something somewhere that's slowing down the evaluation of your bindings, or whatever you're computing is taking too long.
I believe you already ruled out high computing time, so I'd start trying to figure out what's wrong.
I suggest you get a local copy (use docker) of the gateway, or at least the project, and try there if things are still slow.
I guess you missed thus part:
Youâre not going to beat that.
Again, why? Why does the button need to be disabled? Just have the button always produce the previous date from today. This seems to me like youâre making something more complicated than it needs to be. But then you also havenât explain what your try to accomplish that you need a button to âselectâ the previous date.
I've noticed this as well, even the Perspective demo from IA shows this issue:
https://demo.inductiveautomation.com/data/perspective/client/OnlineDemo/feature/realtime/components
The text in the "checkbox" square takes a split second to change from "text" to "false" and in the "Buttons" section "Off" is selected prior to immediately switching to "Auto."
Through the assistance of people in this forum, I ended up adding an @keyframes rule and tied that to the root of all appropriate views.
This goes in the Perspective stylesheet.css:
@keyframes view-ease-in {
0% {
opacity: 0;
}
10% {
opacity: 0;
}
20% {
opacity: 0.05;
}
40% {
opacity: 0.5;
}
50% {
opacity: 1;
}
}
and the root of the view has this animation style:
This makes it transition into the view while things settle down and initiate so it at least looks cleaner in my opinion.
Yes, i finished also using keyframes, it does not solve the problem but it does not appear.