Skip to content

Conversation

hmnd
Copy link

@hmnd hmnd commented Oct 5, 2025

onclick is propogating through to the document in calendar day handlers. This was causing my custom implementation of a popover date picker to unexpectedly close. I found that when clicking a date outside the current month caused the displayed month to change, the document.onclick handler in my popover could no longer see the original target of the click and was thus closed.

Copy link

changeset-bot bot commented Oct 5, 2025

🦋 Changeset detected

Latest commit: b3f5714

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

This PR includes changesets to release 1 package
Name Type
bits-ui 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

Copy link
Contributor

github-actions bot commented Oct 5, 2025

built with Refined Cloudflare Pages Action

⚡ Cloudflare Pages Deployment

Name Status Preview Last Commit
bits-ui ✅ Ready (View Log) Visit Preview b3f5714

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.

1 participant