Skip to content

Conversation

@mturley
Copy link
Collaborator

@mturley mturley commented Aug 20, 2018

affects: patternfly-react

What:

This layout helper is used internally for the default stateful behavior of VerticalNav.
It would be useful to expose for consumers who want to override parts of that state.

Link to Storybook:

Not relevant (no changes will be apparent in Storybook)

Additional issues:

@priley86 , this is necessary for part of the fix I was writing for patternfly/patternfly-react-demo-app#36 (#525). In order to lift showMobileNav state out, I want to use layout.is('mobile') and layout.addChangeListener() in the demo app, without having to pull in BreakJS directly.

…is('mobile')

affects: patternfly-react

This layout helper is used internally for the default stateful behavior of VerticalNav.
It would be
useful to expose for consumers who want to override parts of that state.
Copy link
Member

@priley86 priley86 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works for me! thanks @mturley

@jeff-phillips-18 jeff-phillips-18 merged commit 9578183 into patternfly:master Aug 21, 2018
@mturley mturley deleted the export-layout branch August 29, 2018 23:57
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

Successfully merging this pull request may close these issues.

3 participants