Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dialog: resizable at 400% shows weird scroll bar #8584

Open
AndreasSamjeske opened this issue Jan 28, 2025 · 0 comments
Open

Dialog: resizable at 400% shows weird scroll bar #8584

AndreasSamjeske opened this issue Jan 28, 2025 · 0 comments

Comments

@AndreasSamjeske
Copy link

AndreasSamjeske commented Jan 28, 2025

Description

Opening a resizable dialog on 400% zoom shows a scroll bar outside of the dialog. Since the dialog is resizbale, the mouse cursor changes to its resize icon in the area of the scroll bar. In Chrome and Firefox you are unable to scroll the scroll bar by clicking our dragging. Dragging the dialogs edge seems to be predominant.
In Firefox you are able to do both at once:

  • dragging horizontally changes dialogs width (as expected)
  • dragging vertically scrolls inside the dialog. Kinda expected as well, but not at the same time.

Scrolling by mouse wheel works fine.

Expected outcome

Scroll bar shall be accessible by mouse click and drag in all browsers.

Minimal reproducible example

Demo in vaadin docs will do:
https://vaadin.com/docs/latest/components/dialog#resizable

Steps to reproduce

  1. Screen with 1080px to 1200px in height with scaling at 100%.
  2. Open resizable dialog demo in new tab
  3. Set zoom in browser to 400% by CTRL and +
  4. Click open dialog
  5. Try to scroll the dialog vertically by mouse click or drag.

Image

Environment

Vaadin version(s): 24
OS: Windows 11

Browsers

Chrome, Firefox, Edge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants