Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

233
Vistas
Moveable controls not scrolling with the content

I am using Moveable library to drag and resize elements.

Below is my code for the vuejs app.

      moveable: {
        draggable: true,
        throttleDrag: 0,
        resizable: true,
        throttleResize: 1,
        keepRatio: false,
        scalable: true,
        throttleScale: 0,
        rotatable: true,
        throttleRotate: 0,
        pinchable: true, // ["draggable", "resizable", "scalable", "rotatable"]
        origin: false
      }

Below is the HTML code for the same

        <div id="editor">
          <Moveable
           class="moveable"
           v-bind="moveable"
           @drag="handleDrag"
           @resize="handleResize"
           @scale="handleScale"
           @rotate="handleRotate"
           @warp="handleWarp"
           @pinch="handlePinch"
         >
          <span>
           This is moveable div
          </span>
         </Moveable>
       </div>


So it appears like below.

enter image description here

But when I drag the moveable element, controls are not getting dragged along with with the element. It is getting fixed.

enter image description here

I also tried to give the container property to the moveable object like this container: document.getElementById('editor'), but then also it's not working as expected.

I am not sure what the problem is.

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda