rusackas commented on pull request #11778:
URL:
https://github.com/apache/incubator-superset/pull/11778#issuecomment-733888269
Another hacky idea I'll float, since it might be comparable in hackiness,
but faster:
the `downloadAsImage` method could actually do some DOM manipulation, e.g.
select all the open dropdowns with `document.querySelectorAll('dropdown.open >
.dropdown-menu')` and set its `visibility:hidden`, take the screenshot, revert
to `visibility:visible` and you're done. The visibility CSS attribute would be
good since it won't affect the layout in any way.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]