Skip to content

bug(COMPONENT): MatPaginator should not be able to move to previous or next pages if disabled #30124

Closed
@erikrestificar

Description

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

MatPaginator should not be able to move to previous or next pages if disabled

Breaking change: #29379

Reproduction

  1. Go to MatPaginator Demo
  2. Select disabled
  3. Click next page button

Expected Behavior

Clicking next page should have no effect because its disabled

Actual Behavior

User is able to go to next page

Environment

Any environment

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaroundarea: material/paginator

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions