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

125
Visualizações
Fixed element in Draggable JS

Is it possible to have a fixed element in the sorting alternative of Dragabble JS in a simple way?

For example in this case https://jsfiddle.net/fgbp7hku/1/

<div>
    <div>Item 0</div>
    <div class="fixed-element">Item 1</div>
    <div>Item 2</div>
</div>

I am trying to accomplish that when I try to move Item 2 to Item 0, then the result will be [Item 2, Item 1, Item 0]. However, the result is [Item 2, Item 0, Item 1].

I run through the documentation and examples for any simple switch but I was not able to find that.

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