Fixed bug stopping issue boards cards being dragged

This was caused by the window being zoomed & therefore returning a
non-rounded number. The number now gets rounded to correctly work in the
if statement

Closes #29576
This commit is contained in:
Phil Hughes 2017-03-22 12:10:33 +00:00
parent 78840333d7
commit 8df5b36997
2 changed files with 5 additions and 1 deletions

View File

@ -48,7 +48,7 @@ import boardCard from './board_card';
this.list.getIssues(false);
}
if (this.scrollHeight() > this.listHeight()) {
if (this.scrollHeight() > Math.ceil(this.listHeight())) {
this.showCount = true;
} else {
this.showCount = false;

View File

@ -0,0 +1,4 @@
---
title: Fixed bug in issue boards which stopped cards being able to be dragged
merge_request:
author: