svelte-dnd-action: Error: Cannot read properties of undefined (reading 'getBoundingClientRect')

When applying a filter to the items on a multi-column board, the hidden attribute of some cards don’t get removed.

Steps to reproduce: use https://svelte.dev/repl/906a5b3cca81460c9bbc8d08198c5b0a?version=3.59.2

  1. move some tickets between the columns
  2. enable the second filter
  3. move some tickets between the columns
  4. start from the beginning

dnd

message: "Cannot read properties of undefined (reading 'getBoundingClientRect')"
stack: "TypeError: Cannot read properties of undefined (reading 'getBoundingClientRect')\n" +
" at getBoundingRectNoTransforms (eval at handle_message (about:srcdoc:21:8), <anonymous>:908:25)\n" +
" at animateDraggedToFinalPosition (eval at handle_message (about:srcdoc:21:8), <anonymous>:1919:30)\n" +
" at handleDrop$1 (eval at handle_message (about:srcdoc:21:8), <anonymous>:1914:9)"

Is this a bug, or something in my code ?

About this issue

  • Original URL
  • State: open
  • Created 7 months ago
  • Comments: 16 (3 by maintainers)

Most upvoted comments