Issue #976💬 AnsweredOpened March 22, 2018by TimNZ1 reactions

Cell resizing via drag handle broken

快速解答by TimNZ1

Thanks for the reply. I'll have a play as well. Awesome awesome awesome work with Grapes, greatly appreciated. I'm using a number of components that have had a huge amount of work put in by many people and will support as soon as I can afford to.

Read full answer below ↓

Question

Bugs

Add 2 column block, select a Cell, and use resize handle to resize width.

  • Realtime width change of cell does not track the mouse pointer.
  • Dimensions fields/calculation seem broken, switching between % and px in unexpected ways.
  • Resize handle intermittently disappears

Suggest

  • Manual Cell resize needs to use a sane method to switch to px with a starting width.
  • entering auto/non-numeric into any size field clears unit
  • visual resize as expected

https://www.dropbox.com/s/avosmi1k16jgd3f/grapesjs-cell-resizing.mp4?dl=0

Answers (3)

TimNZMarch 24, 2018

Thanks for the reply. I'll have a play as well.

Awesome awesome awesome work with Grapes, greatly appreciated.

I'm using a number of components that have had a huge amount of work put in by many people and will support as soon as I can afford to.

artfMarch 24, 2018

Realtime width change of cell does not track the mouse pointer

The current grid uses flexbox and as it tries to adapt itself in relation to its sibling nodes what you're asking it's not possible

Dimensions fields/calculation seem broken, switching between % and px in unexpected ways.

Not broken, there are just no calculations in unit changes

Resize handle intermittently disappears

This is something I can try to fix

TimNZMay 1, 2018

@artf legend!

Related Questions and Answers

Continue research with similar issue discussions.

Paid Plugins That Match This Issue

Curated by issue keywords and label relevance to help you ship faster.

View all plugins

Loading paid plugin recommendations...

Free option

Check the open-source GrapesJS plugins on GitHub or run a quick search in our free catalog.

Browse free plugins →
Premium option

Premium plugins ship with support, regular updates, and production-ready features — save days of integration work.

Browse premium plugins →

Related tutorials

In-depth guides on the same topic.

All tutorials →

Browse Plugin Categories

Jump directly to plugin category pages on the marketplace.