PolymerElements / iron-overlay-behavior

Makes an element an overlay with an optional backdrop
41 stars 71 forks source link

Insert backdrop into parentOverlay to support nested overlays #276

Open valdrinkoshi opened 6 years ago

valdrinkoshi commented 6 years ago

Fixes #259 by checking if the new overlay with-backdrop is actually contained in another overlay with-backdrop. If that's the case, we want to insert the backdrop element into the parent overlay so that it will be in the same stacking context as the new top overlay.