Skip to content

[Dialog] Pointer down on Overlay scrollbar closes dialog (impossible to grab scroll) #1280

Open
@lesha1201

Description

@lesha1201

Bug report

In Outer Scrollable story, Dialog Overlay has a scroll but Dialog is closed when clicking on Overlay's scrollbar which makes it impossible to scroll using left mouse button.

Current Behavior

Dialog is closed when clicking on Overlay's scrollbar.

Expected behavior

Dialog isn't closed when clicking on Overlay's scrollbar and it's possible to scroll by holding left mouse button.

Reproducible example

Components._.Dialog.-.Outer.Scrollable.Storybook.-.Google.Chrome.2022-03-29.12-07-54.mp4

Your environment

Software Name(s) Version
Radix Package(s) dialog, dismissable-layer 0.1.7
React n/a 17
Browser Chrome, Firefox 99.0.4844.84, 99.0b8

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions