Skip to content

Non-editable range slider causes onDelete undefined error #1054

@Josh-Cena

Description

@Josh-Cena

Create a range slider with <Slider range />. This creates an uneditable range. Therefore when the <Handle> gets rendered, onDelete is passed as undefined. However, Handle still tries to call onDelete unconditionally, which causes a "onDelete is undefined" error when you press delete:

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions