+
Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

Conversation

clintcs
Copy link
Collaborator

@clintcs clintcs commented Jul 25, 2025

🚀 Description

For its use in Menu, I recently added support to Tooltip for preventing Tooltip from opening and closing when consumers cancel "mouseover" and "mouseout" events on its target.

Not every component needs to have this feature. But Tooltip and Popover are very similar. So I thought I would bring the feature to Popover.

📋 Checklist

  • I have followed the Contributing Guidelines.
  • I have added tests to cover new or updated functionality.
  • I have added or updated Storybook stories.
  • I have localized new strings.
  • I have followed the ARIA Authoring Practices Guide or met with the Accessibility Team.
  • I have included a changeset.
  • I have scheduled a design review.
  • I have reviewed the Storybook and Visual Test Report links below.

🔬 Testing

  1. Navigate to Popover in Storybook.
  2. Add an event listener to Popover's target that cancels "click" events.
  3. Click Popover's target.
  4. Verify Popover remains closed.
  5. Set Popover's open attribute to true.
  6. Click Popover's target.
  7. Verify Popover remains open.

Copy link

changeset-bot bot commented Jul 25, 2025

🦋 Changeset detected

Latest commit: cafc326

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

This PR includes changesets to release 1 package
Name Type
@crowdstrike/glide-core 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

@clintcs clintcs force-pushed the support-event-cancellation-in-popover branch 3 times, most recently from 32b4e41 to 3460e7e Compare July 25, 2025 17:55
@clintcs clintcs marked this pull request as ready for review July 25, 2025 18:01
@clintcs
Copy link
Collaborator Author

clintcs commented Jul 25, 2025

Another one-off Menu diff in the visual test report. I believe this is the second time.

@clintcs
Copy link
Collaborator Author

clintcs commented Jul 25, 2025

Another one-off Menu diff in the visual test report. I believe this is the second time.

Going to force another build. Tell me how you feel. But I'm okay with the occasional false positive if that's the cost of not having any false negatives. Because I'd rather have us have to acknowledge a diff rather than not be aware of one and having a bug slip through.

@clintcs clintcs force-pushed the support-event-cancellation-in-popover branch from 3460e7e to cafc326 Compare July 25, 2025 18:04
@clintcs clintcs added this pull request to the merge queue Jul 25, 2025
Merged via the queue into main with commit 8ca8456 Jul 25, 2025
29 checks passed
@clintcs clintcs deleted the support-event-cancellation-in-popover branch July 25, 2025 18:17
@github-actions github-actions bot mentioned this pull request Jul 25, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载