cdk drag and drop in a nested situation

Discussão em 'Angular' iniciado por Andre Elrico, Janeiro 10, 2025.

  1. Andre Elrico

    Andre Elrico Guest

    This is the third question here on SO regarding "cdk dnd" and "nested"!

    I did not quite get the hacky suggestion of the other SO question.

    So here is a very basic and simple -> STACKBLITZ <- I've created. Everything works fine to the point where I interact with the nested elements inside the container.

    When I try to sort just the nested elements, angular tries to sort the nested element with the container itself ... which creates unwanted behavior.

    Does anyone have an idea how to solve this? I will further work this one tomorrow.

    Continue reading...

Compartilhe esta Página