PolymerElements / paper-dialog

A Material Design dialog
https://www.webcomponents.org/element/PolymerElements/paper-dialog
63 stars 41 forks source link

Modal Paper dialog sits behind the iron-overlay-backdrop [2.0-preview] #148

Closed Ado77 closed 7 years ago

Ado77 commented 7 years ago

Description

Modal Paper dialog sits behind the iron-overlay-backdrop for 2.0-preview

Expected outcome

I would expect the paper-dialog to be clickable

Actual outcome

Iron-overlay-backdrop prevents clicking on dialog

Live Demo

Steps to reproduce

  1. polymer init polymer-2-starter-kit
  2. bower install paper-dialog#2.0-preview
  3. add paper-dialog to view1 with modal and opened="true"

Browsers Affected

runia1 commented 7 years ago

I have also experienced this behavior. Moving the dialog out of <my-view1> into <my-app> worked, however that shouldn't be necessary.

NicolaiSchmid commented 7 years ago

+1

valdrinkoshi commented 7 years ago

Duplicate of https://github.com/PolymerElements/iron-overlay-behavior/issues/208

This is a known limitation of overlays, see more details on how we plan to solve this issue here https://github.com/PolymerElements/iron-overlay-behavior/issues/208#issuecomment-293349138