Material-components-web: Drawer demos: Add the class to the parent as was defined on line 115

Created on 7 Mar 2018  路  8Comments  路  Source: material-components/material-components-web

All 8 comments

Thanks for submitting an issue. Given that you've managed to track the issue down to a single line and have suggested a legitimate fix, I'm going to make this a help-wanted issue.

Feel free to open a PR resolving this. We're always happy to get community bug fixes!

Thanks!

I'd add that this issue exists in each of the 4 drawer demos, not just the one identified in this issue.

It definitely is an issue though (to repro, click one of the list items' icons directly rather than just the text), so thanks for spotting it!

I have to add that in a few recent days something went wrong with the CSS
look how ugly the hamburger button sticks to the title in drawer demo

<div class="mdc-toolbar__row">
  <section class="mdc-toolbar__section mdc-toolbar__section--align-start">
    <button class="demo-menu material-icons mdc-toolbar__menu-icon">menu</button>
    <span class="mdc-toolbar__title catalog-title">Temporary Drawer</span>
  </section>
</div>

https://material-components-web.appspot.com/drawer/temporary-drawer.html

@englishextra whoa, yeah, that shouldn't have happened. Would you mind reporting that as a separate issue though?

So, I'm new here (and also to open source in general) I would love to help out with this small issue.
Forked the master branch, but I see the _drawer_ folder isn't there yet.
Should I switch to the _/feat/navigation-drawer-new_ branch? And do my changes there?

Hey, thanks for poking this issue. We removed the demos/drawer folder in favor of screenshot test pages we created under test/screenshot/spec/mdc-drawer, and MDC Drawer now automatically maintains activated state via MDC List, so this issue is now obsolete. We missed it when we merged the new drawer code.

Sorry for the confusion! But you did still help close an issue ;)

@kfranqueiro alright! You're welcome! :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

7iomka picture 7iomka  路  3Comments

patrickrodee picture patrickrodee  路  3Comments

robzenn92 picture robzenn92  路  4Comments

ghost picture ghost  路  3Comments

16rajumane picture 16rajumane  路  3Comments