Skip to content
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.

fix(action-bar): Sync expanded state with new children #1025

Merged
merged 5 commits into from
Jun 29, 2020

Conversation

jgibson02
Copy link
Contributor

Related Issue: #1023

Summary

Adds a MutationObserver to action-bar to watch for new children and enforces the current expanded state to them. Tried to replicate the usage of MutationObserver from other components.

@jgibson02 jgibson02 added bug Something isn't working 0 - new labels Jun 26, 2020
@jgibson02 jgibson02 requested a review from a team as a code owner June 26, 2020 18:35
Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

This looks good @jgibson02! Thanks for the submission.

Do you think you could add an e2e test for this as well? Then we can make sure it doesn't stop working using the CI builds. 👍

Copy link
Member

@driskull driskull left a comment

Choose a reason for hiding this comment

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

💯 Perfect! 👍

@jgibson02 jgibson02 self-assigned this Jun 29, 2020
@driskull driskull merged commit 576f832 into master Jun 29, 2020
@driskull driskull deleted the jgibson02/action-bar-expanded-sync-1023 branch June 29, 2020 20:32
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
0 - new bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: action-bar does not synchronize expanded state with new children
2 participants