I created a quick and dirty fix for setting the height to 100% (instead of the calculated height).
The issue was that large diagrams got a large height set to a specific number that made the rendering of the element to be pushed down a lot.
Did it on server side, but it could easily be moved to javascript if needed.
I reused my earlier hack :) with the SVG hook and simply applied a regex to replace the calculated height with 100%.
The questions are:
Do you know of a better way to do this?
If not, should it be imported somehow into the component or handled in a different way?
And since I suck at naming things, the attribute name is quite large. :)
I created a quick and dirty fix for setting the height to 100% (instead of the calculated height). The issue was that large diagrams got a large height set to a specific number that made the rendering of the element to be pushed down a lot.
Did it on server side, but it could easily be moved to javascript if needed.
I reused my earlier hack :) with the SVG hook and simply applied a regex to replace the calculated height with 100%.
The questions are:
And since I suck at naming things, the attribute name is quite large. :)
And the naive, hacky implementation.