This repository has been archived by the owner on Dec 19, 2024. It is now read-only.
iron-overlay-backdrop failing in FullScreen mode set with Element.requestFullscreen() #152
Open
3 tasks done
Labels
Description
When browser is set to full screen mode by JavaScript code using
Element.requestFullscreen()
,iron-overlay-behavior incorrectly calculates z-index value for
<iron-overlay-backdrop>
NOTE:
the full screen mode invoked by pressing F11 works fine.
Expected outcome
overlay and backdrop to show in full screen mode
Actual outcome
backdrop is not showing, because it's z-index is wrong
Browsers Affected
other not tested.
Additional info
<simple-overlay>
with iron-backdrop-behavior must be placed inside the wrapping element used byElement.requestFullscreen()
placing it in<body>
will cause it not to show at all.<iron-overlay-backdrop>
is inserted by behavior outside of this element with wrong z-index value.Using
<body>
as wrapping element is not reliable to use withElement.requestFullscreen()
The text was updated successfully, but these errors were encountered: