Skip to content

Commit

Permalink
Dogfalo#6279: fixed aligning of dropdown with coverTrigger=false, whe…
Browse files Browse the repository at this point in the history
…n can align bottom
  • Loading branch information
bugy committed Oct 3, 2021
1 parent fdf1dce commit 17f293f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions js/dropdown.js
Original file line number Diff line number Diff line change
Expand Up @@ -429,6 +429,10 @@
if (!alignments.top) {
if (alignments.bottom) {
verticalAlignment = 'bottom';

if (!this.options.coverTrigger) {
idealYPos -= triggerBRect.height;
}
} else {
this.isScrollable = true;

Expand Down

0 comments on commit 17f293f

Please sign in to comment.