You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am seeing the column menus not being positioned correctly in my app. Sometimes up to 50px too far to the left. This is quite the weird bug, but I finally figured out what was causing it. If I turn off $animate, the issue goes away.
Just by looking at the example in the docs (303), you don't see the issue (maybe because the default width is correct in that case. However, if you edit that example in plunker, you will see the issue on the column menu for the company column.
I believe the problem is that there is a timeout that is being used that assumes that the menu is shown by the time its callback is being called. However, with animations on, this assumption is usually wrong. $timeout( $scope.repositionMenuClosure( $scope, column, colElementPosition, $elm, $columnElement ), 10);
The text was updated successfully, but these errors were encountered:
@PaulL1 Seeing as you have just recently refactored a lot of this code, I figured you might know how to fix this. Hopefully its an easy fix. Let me know if you have problems reproducing the issue.
I am seeing the column menus not being positioned correctly in my app. Sometimes up to 50px too far to the left. This is quite the weird bug, but I finally figured out what was causing it. If I turn off $animate, the issue goes away.
Just by looking at the example in the docs (303), you don't see the issue (maybe because the default width is correct in that case. However, if you edit that example in plunker, you will see the issue on the column menu for the company column.
I believe the problem is that there is a timeout that is being used that assumes that the menu is shown by the time its callback is being called. However, with animations on, this assumption is usually wrong.
$timeout( $scope.repositionMenuClosure( $scope, column, colElementPosition, $elm, $columnElement ), 10);
The text was updated successfully, but these errors were encountered: