Enhance user experience with Pragmatic drag-and-drop in React: Introduce Draggable API

Поділитися
Вставка
  • Опубліковано 4 лис 2024

КОМЕНТАРІ • 5

  • @harryd7602
    @harryd7602 2 місяці тому +1

    This is great! Do you think there would be an easy way to use this library to make a nested drag and drop container? For example so you could have nested to-do's within a todo? I've tried personally but im struggling to get a placeholder for it.

    • @antonwiklund6727
      @antonwiklund6727 2 місяці тому

      I know there is like tree support if that would help you :)

    • @icodeit.juntao
      @icodeit.juntao  2 місяці тому

      Yeah the nested structure is well supported, there is an example here actually: codesandbox.io/s/386kzf?module=/example.tsx (from the Atlassian Design System document)

    • @harryd7602
      @harryd7602 2 місяці тому

      @@icodeit.juntao great thanks i'll have a look

  • @JasonHughes-in7xo
    @JasonHughes-in7xo 2 місяці тому

    Is there a repo for this example ?