Skip to content

bug: Disabled navigation buttons Prev and Next are still clickable #667

Open
@Amit-K-007

Description

@Amit-K-007

Bug Description

The "Previous" and "Next" buttons for navigating slides remain clickable even when disabled (either on the first or last slide), causing unnecessary re-renders of the page.

Expected Behavior

  • The buttons should not be clickable when disabled, and the cursor should show the "not-allowed" property when hovering over them.

Steps to Reproduce

  • Navigate to the first slide and click the "Prev" button.
  • Navigate to the last slide and click the "Next" button.

Demo

bug.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions