Commit 8df5b369 authored by Phil Hughes's avatar Phil Hughes

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
parent 78840333
...@@ -48,7 +48,7 @@ import boardCard from './board_card'; ...@@ -48,7 +48,7 @@ import boardCard from './board_card';
this.list.getIssues(false); this.list.getIssues(false);
} }
if (this.scrollHeight() > this.listHeight()) { if (this.scrollHeight() > Math.ceil(this.listHeight())) {
this.showCount = true; this.showCount = true;
} else { } else {
this.showCount = false; this.showCount = false;
......
---
title: Fixed bug in issue boards which stopped cards being able to be dragged
merge_request:
author:
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment