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

186
Vistas
Is anyone aware of a way to dynamically resize React drag and dropped items in a grid rather than resize the grid row?

I am trying to build a page that allows the user to add a 'tile' to a grid through drag and drop. I can find a ton of js libraries and CSS / HTML examples for this - but all of them rely on the grid row / column dynamically resizing when an additional 'tile' is dragged to a grid section. I'm trying to find a way that the tiles within any one 'cell' will dynamically resize to fit in the cell when tiles are added or removed.

I've tried to illustrate this - has anyone seen this done either through a js library or css/html (or anything else)? It will be part of a React web page.

In the example below - there is one grid row and two grid columns. When a new tile is dragged to column 2 tile B dynamically resizes to allow the tile to be added without needing the row size to increase (relative to screen size).

Dynamic Resize of Tile B

Thanks for any response.

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