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:
parent
78840333d7
commit
8df5b36997
2 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
|
|
4
changelogs/unreleased/issue-boards-cant-drag-fix.yml
Normal file
4
changelogs/unreleased/issue-boards-cant-drag-fix.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Fixed bug in issue boards which stopped cards being able to be dragged
|
||||
merge_request:
|
||||
author:
|
Loading…
Reference in a new issue