You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I am trying to load a paper-dialog on page load. It works perfectly in chrome, but in firefox it doesnt work. When I try to debug, it says toggle() is not a method. The same method works if I use a button to toggle the dialog in firefox. It would of good help, if someone can suggest me an alternative.
Thanks,
Bhaswanth G
The text was updated successfully, but these errors were encountered:
When you say "on page load", are you waiting for the polymer-ready event? If not, the paper-dialog may not have been upgraded when you call toggle() on it. Polymer waits until all element definitions are available before registering elements, and this takes longer on platforms without native HTML Imports.
Hi, I am sorry. I did not try with polymer-ready event. I was using the normal events. I tried with polymer-ready now. It works fine in Chrome, Firefox & IE, but it is failing in Safari because my Safari browser is old and is not supported by polymer. Thanks again for helping, sorry for raising the bug.
Hi,
I am trying to load a paper-dialog on page load. It works perfectly in chrome, but in firefox it doesnt work. When I try to debug, it says toggle() is not a method. The same method works if I use a button to toggle the dialog in firefox. It would of good help, if someone can suggest me an alternative.
Thanks,
Bhaswanth G
The text was updated successfully, but these errors were encountered: