vue-grid-layout icon indicating copy to clipboard operation
vue-grid-layout copied to clipboard

Boundary collision happened When margin x/y is zero

Open ygj6 opened this issue 3 years ago • 1 comments

Software version (please complete the following information):

  • Browser [e.g. chrom]
  • Vue Version [e.g. 2.6.12]
  • vue-grid-layout Version: [e.g. master]

Describe the bug Boundary collision happened When margin x is zero and y is also zero image

ygj6 avatar Dec 26 '20 02:12 ygj6

The reason for this problem is that use Math.round fn to calculate the width and positon,should to remain one decimal。 const round1 = (v) => Math.round(v * 10) / 10; image

tangxiaobin17 avatar Oct 12 '21 10:10 tangxiaobin17