i'm converting old stocks app jqm polymer v.1 , know if there easy way have dialog open @ full screen. checked docs, maybe missed can see ref full screen dialog.
the reason when click plus button on header search , add stock dialog open ok

however when search list populates dialog not adjust on page fit/position accordingly

i have workaround can append list blank paper items prior opening dialog
for (i = 0; < 20; i++) { $("#stockslist").append('<paper-item></paper-item>'); } 
but prefer if there class or correct css add have dialog open @ full screen no padding or margin
thanks
i did not test this, should able set position , size on dialog element. have done similar on project working on.
paper-dialog { position: fixed; top: 0; left: 0; right: 0; bottom: 0; padding: 0; margin: 0; }
Comments
Post a Comment