vue-grid-layout
vue-grid-layout copied to clipboard
Boundary collision happened When margin x/y is zero
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
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;