-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Currently, we use html2canvas for our screenshot tool. This mostly works well, but it has some limitations:
- The screenshot tool does not work with the map comparison mode. html2canvas does not support the CSS clip-path functionality that the vue-maplibre-compare uses. (Add support for clip-path niklasvh/html2canvas#2016)
- When panels are undocked from their sidebar and the sidebar is collapsed, the screenshot tool does not capture the floating panels. This is because html2canvas does not include children of elements with
visibility:hiddeneven if the children havevisibility:visible. (Canvas not rendering visible children of hidden element niklasvh/html2canvas#2171)
@BryonLewis suggested that we could try getDisplayMedia for our screenshots instead: https://developer.mozilla.org/en-US/docs/Web/API/MediaDevices/getDisplayMedia.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels