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
{{ message }}
This repository was archived by the owner on Dec 19, 2024. It is now read-only.
Due to the fact that if(0) is false, the following code in paper-dropdown-menu.html does not fire the return of opt_verticalOffset and instead returns 8 or -4.
_computeMenuVerticalOffset: function(noLabelFloat,opt_verticalOffset){// Override offset if it's passed from the user.if(opt_verticalOffset){returnopt_verticalOffset;}// NOTE(cdata): These numbers are somewhat magical because they are// derived from the metrics of elements internal to `paper-input`'s// template. The metrics will change depending on whether or not the// input has a floating label.returnnoLabelFloat ? -4 : 8;},
Expected outcome
I expect a verticalOffset of 0.
Actual outcome
I receive a verticalOffset of -4 or 8, depending on the state of noLabelFloat
Steps to reproduce
Put a 'paper-dropdown-menu' in the page. Set the 'verticalOffset' attribute of the 'paper-dropdown-menu' to '0'