material-web icon indicating copy to clipboard operation
material-web copied to clipboard

Insert components inside mwc-top-app-bar

Open fuintis opened this issue 4 years ago • 2 comments

Is your feature request related to a problem? Please describe. Can be really helpfull to add a component inside the mwc-top-app-bar one. At this moment its "only" possible to add a text using the "title" slot. When i try to add a mwc-select, the style has completly broken, hidding the floating list when i clicked over it.

Describe the solution you'd like The mwc-top-app-bar component should support web components inside "title" slot (or a new one) to allow create top-app-bars like the Google Drive's one.

Describe alternatives you've considered I was try to add all kind of custom components inside "title" slot. Some of these works pretty well (like mwc-button), but its more frequent that the style breaks inside the aforementioned slot.

Additional context None.

fuintis avatar Nov 17 '20 20:11 fuintis

I'll take a look to see what type of content should be allowed in the Top App Bar.

dfreedm avatar Nov 20 '20 23:11 dfreedm

Any updates on this? I was looking to place a mwc-select inside a mwc-top-app-bar-fixed and it causes issues.

milesje avatar Aug 26 '21 16:08 milesje