Skip to content

Commit 0c162cb

Browse files
committed
[4.0] Fix list view drop direction updates
patternfly#415
1 parent 14bd794 commit 0c162cb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/views/listview/list-view.component.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@ angular.module('patternfly.views').component('pfListView', {
459459
expandedContent: '?listExpandedContent'
460460
},
461461
templateUrl: 'views/listview/list-view.html',
462-
controller: function ($timeout, $window, $element) {
462+
controller: function ($window, $element) {
463463
'use strict';
464464
var ctrl = this;
465465

@@ -561,7 +561,7 @@ angular.module('patternfly.views').component('pfListView', {
561561
// update the actions based on the current item
562562
ctrl.updateActions(item);
563563

564-
$timeout(function () {
564+
$window.requestAnimationFrame(function () {
565565
var parentDiv = undefined;
566566
var nextElement;
567567

0 commit comments

Comments
 (0)