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

fix(popper): update trigger element when content changes #9738

Merged
merged 1 commit into from
Oct 16, 2023

Conversation

kmcfaul
Copy link
Contributor

@kmcfaul kmcfaul commented Oct 11, 2023

What: Closes #9698

Fix to update popper's internal trigger element when the given trigger changes and triggerRef remains the same (in the case of the trigger content updating or changing).

Verified testing locally with the issue's codesandbox. The code should be copied into the surge to check this PR, as we don't currently have an example of a dynamically updating toggle.

@patternfly-build
Copy link
Contributor

patternfly-build commented Oct 11, 2023

Copy link
Contributor

@tlabaj tlabaj left a comment

Choose a reason for hiding this comment

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

lgtm

@wise-king-sullyman wise-king-sullyman merged commit 202c40c into patternfly:main Oct 16, 2023
10 checks passed
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.

Bug - Select - Dynamic select with basic and typeahead variants does not work as expected
4 participants