Skip to content

<Dialog> page zoom breaks #2528

@Bulatick

Description

@Bulatick

Describe the bug

I ran into a problem in the Dialog box that if overflow: auto and the content scrolls through, and if I enter the inputs or click on the button, the dialog box scrolls to the beginning.
And this is only if the scale is zoomed in or out.

I decided to check on stackblitz, as a result, when zooming in, the dialog box stops scrolling

Screen.Recording.2025-12-11.at.18.33.58.mov

Reproduction

https://stackblitz.com/edit/gravity-ui-uikit-example-xifxzmq6?file=src%2FApp.tsx

Steps to reproduce

No response

Environment

MacOS YaBrowser 25.10.0.2546 (64-bit)

Validations

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions