Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drawer has stopped working on my site #72

Open
RobertoAlvarezCeballos opened this issue Mar 7, 2018 · 0 comments
Open

Drawer has stopped working on my site #72

RobertoAlvarezCeballos opened this issue Mar 7, 2018 · 0 comments

Comments

@RobertoAlvarezCeballos
Copy link

RobertoAlvarezCeballos commented Mar 7, 2018

Hi,

Without changing anything for months the Drawer component doesn't really work anymore.

I have simplified to the example on your site to see if the issue was something I did, so this is what I have:
renderFullPage = () => { return ( <div> <Button raised onClick={() => { this.setState({isOpen: !this.state.isOpen}) }} > Show drawer </Button> <Drawer open={this.state.isOpen} onClose={() => { this.setState({isOpen: false}) }} > <DrawerHeader> <DrawerHeaderContent> Directions </DrawerHeaderContent> </DrawerHeader> <DrawerContent> <Navigation> <a href='#' selected><Icon name='directions_bus'/>Bus</a> <a href='#'><Icon name='directions_railway'/>Railway</a> <a href='#'><Icon name='directions_bike'/>Bike</a> </Navigation> </DrawerContent> </Drawer> </div> ); };

This display the drawer into the page, it's not hidden and the button doesn't really do anything.

Anyone else experiencing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant