Skip to content

bug(mat-dialog): Vertical scrollbar appears but not moved on mouse wheel (for some screen resolutions) #26760

Open
@MohamedHamouGisaia

Description

@MohamedHamouGisaia

Is this a regression?

  • Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was

No response

Description

I open a modal using a MatDialog

In the mat-dialog-content I create as many elements as needed to display a vertical scrollbar (reference Stackblitz).

The scrollbar appears but wheeling my mouse doesn't trigger the scrollbar to move.

This happens for some resolutions like this one :
In the screenshot below, a screen of 2560 x 1600 is simulated

image

Reproduction

Steps to reproduce: StackBlitz link

  1. Open a mat-dialog
  2. With the device toolbar (in chrome)
    image
  3. create a custom device with the following info
    image
  4. The dialog appears with a scrollbar that we cannot scroll
    image

Expected Behavior

To be able to move the scrollbar on mouse wheel

Actual Behavior

The mouse wheel doesn't trigger the scrollbar to move

Environment

  • Angular: ~15.0.0
  • CDK/Material: 15.2.2
  • Browser(s): Google Chrome Version 110.0.5481.177 (Build officiel) (arm64)
  • Operating System (e.g. Windows, macOS, Ubuntu): macOS

Activity

added
P5The team acknowledges the request but does not plan to address it, it remains open for discussion
and removed
needs triageThis issue needs to be triaged by the team
on Mar 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    P5The team acknowledges the request but does not plan to address it, it remains open for discussionarea: material/dialog

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @wagnermaciel@MohamedHamouGisaia

        Issue actions

          bug(mat-dialog): Vertical scrollbar appears but not moved on mouse wheel (for some screen resolutions) · Issue #26760 · angular/components