Skip to content

Conversation

@kylebuch8
Copy link
Contributor

Fixes #522

adding one last check for a controlledPanel

What has changed and why

Summarize files edited as part of this MR along with a brief description of what was changed/why.

  • In certain scenarios, it's possible that the panel will be added to the DOM after the toggle has already been added. If a user were to click the toggle, it will never find the associated panel.
  • This fix gives the toggle one last opportunity to find the panel

Copy link
Contributor

@Djfaucette Djfaucette left a comment

Choose a reason for hiding this comment

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

Languages: German, Turkish, Mongolian.

@kylebuch8 kylebuch8 merged commit 0c810a3 into master Aug 28, 2019
@kylebuch8 kylebuch8 deleted the issue-522 branch August 28, 2019 19:03
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.

pfe-collapse: what if the panel isn't in the DOM when the toggle is added to the DOM?

3 participants