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

Transition in right sidebar not working #9095

Closed
henryennis opened this issue Jul 2, 2021 · 0 comments · Fixed by #9364
Closed

Transition in right sidebar not working #9095

henryennis opened this issue Jul 2, 2021 · 0 comments · Fixed by #9364
Assignees

Comments

@henryennis
Copy link
Contributor

henryennis commented Jul 2, 2021

Transitions applied via css class to headerPanel are ignored.

Using the HeaderContainer along with its render method from the react carbon components story causes header panel transitions to be ignored

Credit:
https://stackoverflow.com/questions/62703153/react-carbon-design-system-transition-in-right-sidebar-not-working

Additional information:
Got transitions working by removing the headerContainer and making use of react useState to manage the state of sideNav.

Furthermore the headerContainer component should not exist at all as state management should be done through your framework.

unsure if this is a bug or the examples in carbon react story needs to be updated.

References:
https://react.carbondesignsystem.com/?path=/story/components-ui-shell--header-base-w-navigation-actions-and-side-nav

Using chrome browser: Version 91.0.4472.124 (Official Build) (64-bit)

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

Successfully merging a pull request may close this issue.

3 participants