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

[popover2] fix(showContextMenu): unmount previous renders #5952

Merged
merged 3 commits into from
Feb 16, 2023

Conversation

adidahiya
Copy link
Contributor

Fixes #5949

Checklist

  • Includes tests
  • Update documentation

Changes proposed in this pull request:

Unmount previous instances of a context menu popover in the imperative showContextMenu() API to ensure that subsequent calls to the API succeed.

Reviewers should focus on:

New test cases to verify the fix.

Previously, the test suite would call hideContextMenu() after each test, which does not accurately represent real usage of the API.

Screenshot

N/A

@adidahiya
Copy link
Contributor Author

[popover2] fix(showContextMenu): unmount previous renders

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya
Copy link
Contributor Author

fix tests

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya
Copy link
Contributor Author

revert changes to test/index.ts

Build artifact links for this commit: documentation | landing | table | demo

This is an automated comment from the deploy-preview CircleCI job.

@adidahiya adidahiya merged commit fca0cdd into develop Feb 16, 2023
@adidahiya adidahiya deleted the ad/fix-showContextMenu branch February 16, 2023 13:11
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.

showContextMenu only works the first time
1 participant