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

Поделиться
HTML-код
  • Опубликовано: 23 ноя 2024

Комментарии • 5

  • @harryd7602
    @harryd7602 3 месяца назад +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 3 месяца назад

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

    • @icodeit.juntao
      @icodeit.juntao  3 месяца назад

      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 3 месяца назад

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

  • @JasonHughes-in7xo
    @JasonHughes-in7xo 2 месяца назад

    Is there a repo for this example ?