A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/jbaysolutions/vue-grid-layout/issues/355 below:

Col width updated after release mouse button · Issue #355 · jbaysolutions/vue-grid-layout · GitHub

Software version (please complete the following information):

Describe the bug
In some cases cols will autoresize to 1 col bigger after resize.

To Reproduce
Steps to reproduce the behavior:

  1. Instance a grid
  2. Add an item and resize it to 6 columns
  3. See error (after release mouse button will be resized to 7)

Expected behavior
While resize action the preview looks ok (6 columns) but when i release button it resizes to 7.

Screenshots
while resizing:

After release mouse button:

Additional context
Screen resolution 1920*1200

Maybe the problem is for these piece of code where the col its changed to 7 instead of 6:

// Helper for generating column width
calcColWidth: function calcColWidth() {
var colWidth = (this.containerWidth - this.margin[0] * (this.cols + 1)) / this.cols;


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4