Commit 9151bb2
Add explicit $timeout delay for determining drop direction
In #setDropMenuLocation, the bounding rectangle for the menu was being
calculated before it was rendered causing the height to be 0.
For some reason the $timeout was not waiting for the digest cycle to
complete, however, adding a 100 ms delay consistently drops the menu in
the proper direction.
Fixes #3991 parent 176f7af commit 9151bb2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
575 | 575 | | |
576 | 576 | | |
577 | 577 | | |
578 | | - | |
| 578 | + | |
579 | 579 | | |
580 | 580 | | |
581 | 581 | | |
| |||
0 commit comments