Skip to content

[docs] fix confirm dialog closing when clicking inside#1439

Merged
vincentriemer merged 3 commits intofacebook:mainfrom
alexcarpenter:alexcarpenter/fix-dialog-close
Jan 6, 2026
Merged

[docs] fix confirm dialog closing when clicking inside#1439
vincentriemer merged 3 commits intofacebook:mainfrom
alexcarpenter:alexcarpenter/fix-dialog-close

Conversation

@alexcarpenter
Copy link
Contributor

@alexcarpenter alexcarpenter commented Jan 5, 2026

What changed / motivation ?

The confirm dialog was closing when clicking inside of the dialog due to padding usage being apart of the dialog. This PR adds a content element that applies the padding to prevent unintentionally closing.

Linked PR/Issues

Fixes # (issue)

Additional Context

BEFORE

before.mov

AFTER

after.mov

Screenshots, Tests, Anything Else

Pre-flight checklist

@vercel
Copy link

vercel bot commented Jan 5, 2026

@alexcarpenter is attempting to deploy a commit to the Meta Open Source Team on Vercel.

A member of the Team first needs to authorize it.

@meta-cla meta-cla bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jan 5, 2026
Copy link
Contributor

@vincentriemer vincentriemer left a comment

Choose a reason for hiding this comment

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

LGTM

@vincentriemer vincentriemer merged commit 24f1463 into facebook:main Jan 6, 2026
6 of 9 checks passed
abhakat pushed a commit that referenced this pull request Feb 6, 2026
* [docs] fix dialog closing when clicking inside

* sort keys
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants