we have description field with set width and height.
In case it would overflow we need to show Expand button. How to check if dynamic text would overflow?
I found few ways how to do actual test and that consist of copying element, attaching it to and checking if height of this new one is bigger than original one.
But that expect we know WHEN to execute this check.
And that is kinda problem for me to determine as it is dynamic content.
So any kind of onRendered template does not cover it as long as I know.
Timeout schedule (inside text generating helper) sounds quite bad. But for me it seems as the only option I can think of right now.