Skip to content

[Bug]: Pagination fires cds-pagination-changed-current event twice #20995

@gumm

Description

@gumm

Package

@carbon/web-components

Browser

Firefox

Package version

v2.41.1

React version

No response

Description

The cds-pagination component fires the cds-pagination-changed-current event twice for a single user action (button click or dropdown selection).

Reproduction/example

https://stackblitz.com/edit/stackblitz-starters-gcx1xzub?file=index.html

Steps to reproduce

Steps to Reproduce

  1. Open the demo
  2. Click next/previous buttons or select a page from dropdown
  3. Observe the event log shows duplicate events within ~100ms

Expected Behavior

Event should fire once per user action

Actual Behavior

Event fires twice with identical data

Suggested Severity

None

Application/PAL

No response

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Type

    Projects

    Status

    ⏱ Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions