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(popover): add outsideClick event on popover show #2514

Merged
merged 3 commits into from
Jun 16, 2023
Merged

Conversation

anujsingla
Copy link
Collaborator

fix(popover): add outsideClick event on popover show

We were adding outsideClick event in the connectedCallback lifecycle method. It adds for all popovers present on the page. It was not removed when we closed the popover.
Now I have changed the logic. We will add an outsideClick event when we show the popover and remove it on the hide popover.

fixes - #2513

@changeset-bot
Copy link

changeset-bot bot commented Jun 10, 2023

🦋 Changeset detected

Latest commit: fd08103

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@patternfly/elements Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the functionality Functionality, typically pertaining to the JavaScript. label Jun 10, 2023
@github-actions github-actions bot added the AT passed Automated testing has passed label Jun 10, 2023
@github-actions
Copy link
Contributor

github-actions bot commented Jun 10, 2023

Deploy Preview for patternfly-elements ready!

Name Link
🔨 Latest commit 6226f15
😎 Deploy Preview https://deploy-preview-2514--patternfly-elements.netlify.app/

To edit notification comments on pull requests, go to your Netlify site settings.

Copy link
Member

@bennypowers bennypowers left a comment

Choose a reason for hiding this comment

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

This needs a changeset, otherwise looks good

@bennypowers bennypowers enabled auto-merge (squash) June 16, 2023 13:22
@bennypowers bennypowers merged commit 2ba0b43 into main Jun 16, 2023
@bennypowers bennypowers deleted the issue-2513 branch June 16, 2023 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
AT passed Automated testing has passed functionality Functionality, typically pertaining to the JavaScript. ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants