Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

150
Visualizações
Issue with overlapping Drag and Drop connecting with wrong components

Link to Video: https://youtu.be/16OXCpw3MBs

I have a stange one, I have three div's two of which scroll horizontal/vertical all of the divs have cards in that are draggable to enable moving of cards and ordering them. All works fine until you scroll one of the div's so that the columns are "under" another div.

I have attached a video to try to show this as I can't think of of an easy way to explain the issue.

Here is the drag and drop code:

$(function () {
  $('ul.sort')
    .sortable({
      containment: 'document',
      helper: 'clone',
      appendTo: "body",
      connectWith: ".sortable",
      stop: function (e, ui) {
         //Functions removed for security - some AJAX made here
        }
      },
      
    })
    .disableSelection();
});

I thought Z-Index would sort it but the draggable component is connecting with droppable elements under the element I want it to connect with.

Thanks in advance.

Link to Video: https://youtu.be/16OXCpw3MBs

about 4 years ago · Juan Pablo Isaza
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda