Styling paper-dropdown-menu

31 views
Skip to first unread message

Ankit Singhal

unread,
Jan 16, 2018, 10:28:45 AM1/16/18
to Polymer
Hi everyone, 

Need some help. I have a requirement to display paper-dropdown-menu as a standard dropdown and not in material design. I need to do it through stylesheet as few of our customer still want to have old look/feel and we do not want to have custom coding instead  trying to change the look/feel using styles. I am able to display paper-input like legacy elements easily by using paper-input-container styles but no luck with dropdown. Any suggestions that y'all may have.


thanks

Jouni Koivuviita

unread,
Jan 17, 2018, 7:17:54 AM1/17/18
to Polymer
Probably not the answer you are looking for, and maybe not even helpful at all, but Vaadin has <vaadin-dropdown-menu> which allows you to style it freely: https://github.com/vaadin/vaadin-dropdown-menu

Joern Turner

unread,
Jan 22, 2018, 5:40:14 AM1/22/18
to Polymer
Hi,

maybe a style module can help. It's described here - https://www.polymer-project.org/2.0/docs/devguide/style-shadow-dom#style-modules

At least it allows you to keep the styles out of the component.

hth,

Joern
Reply all
Reply to author
Forward
0 new messages