Show/hide component always triggers style calculation?
Unanswered
Florida White posted this in #help-forum
Florida WhiteOP
Hi,
it's not clear to me if showing/hiding a component always triggers a style calculation, or it depend on the component is done.
In my application when I click on a button, a whole section of the page is hidden (with all its content), and Chromium Developer Tools shows that more than 3000 components are affected by style calulation.
And this requires time (100 ms)
After that, the layout calculation is quite fast
I'm not sure how can I improve this "style calculation" time (if possible)
it's not clear to me if showing/hiding a component always triggers a style calculation, or it depend on the component is done.
In my application when I click on a button, a whole section of the page is hidden (with all its content), and Chromium Developer Tools shows that more than 3000 components are affected by style calulation.
And this requires time (100 ms)
After that, the layout calculation is quite fast
I'm not sure how can I improve this "style calculation" time (if possible)
1 Reply
Florida WhiteOP
is there any documentation describing how to handle this topic?