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
If any of the two if statements were true at initialization, and then later on were false thereby removing the web-component inside it actually removes it from DOM which is good, but the problem is that inside paper-dropdown's shadow there is a div with class scroller that seems to hardcode it's style based on it's content at initialization.
Moved from Polymer/old-docs-site#895, reported by @AminElnaggar:
I have this snippit
If any of the two
if statements weretrueat initialization, and then later on werefalsethereby removing the web-component inside it actually removes it from DOM which is good, but the problem is that insidepaper-dropdown's shadow there is adivwith classscrollerthat seems to hardcode it's style based on it's content at initialization.How do I force it to recalculate height?
just for a visual, before and after: