0

I was trying to make my paper-dialog scrollable using paper-dialog-scrollable but i can't make it work.. I tried to simplify my code as much as possible, containing almost only ctrl+c and ctrl+v code from demo on github.

https://github.com/PolymerElements/paper-dialog-scrollable/blob/master/demo/index.html

But it seems like paper-dialog-scrollable isn't doing anything at all. (behave like it hasn't any logic and is simple element) The only thing that is different from demo page is that I am using shady dom instead of shadow.. (BTW, yes, I imported file into my project)

Anyone faced the same problem? Is there anyone who is using this element in shady dom and how?

TylerH
  • 20,799
  • 66
  • 75
  • 101
Kuba Šimonovský
  • 2,013
  • 2
  • 17
  • 35

1 Answers1

1

Yes, <paper-dialog-scrollable> works in Shady DOM. The element's usage is the same for Shady DOM and Shadow DOM.

Here are working Codepens of the element's demo code:

tony19
  • 125,647
  • 18
  • 229
  • 307