Skip to content

fix: let popovers scroll with the wheel inside dialogs - #32412

Merged
aslilac merged 1 commit into
mainfrom
fix/emoji-picker-scroll-in-dialog
Nov 19, 2026
Merged

aslilac merged 1 commit into
mainfrom
fix/emoji-picker-scroll-in-dialog

Conversation

@aslilac

@aslilac aslilac commented Nov 18, 2026

Copy link
Copy Markdown
Member

closes DASH-142

Superblink below here:

An open Radix Dialog's react-remove-scroll lock listens for wheel and touchmove on the document and cancels any event whose target is outside the dialog content. Popovers are portaled to the body, so scroll areas in non-modal popovers opened from a dialog (the IconField emoji picker in the Agents "Create a project" dialog, Combobox lists) could not be scrolled.

Stop wheel and touchmove propagation in PopoverContent so the lock's document listener never sees events that start inside a popover.

Generated by Coder Agents.

…inside dialogs

An open Radix Dialog's react-remove-scroll lock listens for wheel and
touchmove on the document and cancels any event whose target is outside
the dialog content. Popovers are portaled to the body, so scroll areas in
non-modal popovers opened from a dialog (the IconField emoji picker in the
Agents "Create a project" dialog, Combobox lists) could not be scrolled.

Stop wheel and touchmove propagation in PopoverContent so the lock's
document listener never sees events that start inside a popover.

Generated by Coder Agents.
@linear-code

linear-code Bot commented Nov 18, 2026

Copy link
Copy Markdown

DASH-142

@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@aqandrew
aqandrew self-requested a review November 19, 2026 05:17

@aqandrew aqandrew left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Checked out this branch, and scrolling in the agents page's create project dialog works well! (unlike in dogfood rn)

Thank you for this 🙏🏽

@aslilac
aslilac merged commit 485f678 into main Nov 19, 2026
48 of 49 checks passed
@aslilac
aslilac deleted the fix/emoji-picker-scroll-in-dialog branch November 19, 2026 21:26
@github-actions github-actions Bot locked and limited conversation to collaborators Nov 19, 2026

This branch had an error being deployed

1 failed and 1 inactive deployments
docs-preview — 97a3abd1 Deployed Nov 19, 2026 by aslilac via cleanup #266
main — 97a3abd1 Deployed Nov 19, 2026 by aslilac via cla #260535
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.

2 participants