Skip to content

Conditional draggable #127

Open
Open

Description

@chlbri

Can we have a way to conditionally drag element with a signal ?

Activity

  1. changed the title [-]Conditional draggble[/-] [+]Conditional draggable[/+] on Nov 21, 2025
  2. martinpengellyphillips commented on Nov 24, 2025

    @martinpengellyphillips
    Contributor

    Do you mean that dragStart is only called when some signal is active?

    Today that should be possible (but clunky) by implementing a custom sensor in place of the default one.

    Alternatively you could have a custom transformer that nullifies the move altogether (the drag is active but nothing visually happens).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions