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

Explicitly pass action to polaris page action #688

Merged
merged 1 commit into from
Dec 14, 2020

Conversation

sivakumar-kailasam
Copy link
Contributor

@sivakumar-kailasam sivakumar-kailasam commented Dec 14, 2020

The polaris action group didn't pass an onAction to the underlying PolarisPage::Action component and was relying on event bubbling for the popover's activator to work. With some recent changes to stop event propagation in that component, this stopped working. So this PR adds an implicit onAction parameter so that we don't run into any surprises in the future.

Testing: verified that the functionality was broken on master by looking at the dummy app & validated that it works as expected with this change.

@sivakumar-kailasam sivakumar-kailasam self-assigned this Dec 14, 2020
@sivakumar-kailasam sivakumar-kailasam requested review from tomnez and removed request for vladucu December 14, 2020 22:33
Copy link
Contributor

@tomnez tomnez left a comment

Choose a reason for hiding this comment

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

Nice catch, thanks! 💯

@sivakumar-kailasam sivakumar-kailasam merged commit 6ea4ebe into master Dec 14, 2020
@sivakumar-kailasam sivakumar-kailasam deleted the fix-header-action branch December 14, 2020 22:40
@vladucu vladucu added the bug Something isn't working label Jul 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants