Open Juice10 opened 3 weeks ago
Latest commit: d693da936fa9df1d9aa41113c57791528442e31d
The changes in this PR will be included in the next version bump.
Not sure what this means? Click here to learn what changesets are.
Click here if you're a maintainer who wants to add another changeset to this PR
Fixes #1381.
Adds support for recording & replaying Top Layer
<dialog>
elements. These elements float over any other elements no matter the z-index.What this PR does not do:
showModal()
on rrweb-snapshot'srebuild
.showModal()
has to be attached to be called, so the responsibility to do this is hoisted to rrweb & rrdom.popover
elements.requestFullScreen
elements.HTMLDialogElement.showModal
, and although that is possible I didn't have time to implement it. However most of the time this PR should sufficient. Unfortunately there is no way to query the dom for the order of elements in the top layer, as that would have made this doable without monkey patch, and recordable in rrweb-snapshot.