Skip to content

Commit

Permalink
fix bug when new options come in
Browse files Browse the repository at this point in the history
  • Loading branch information
wouter-willems committed Jan 12, 2024
1 parent 853bb33 commit 8f25031
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion projects/klippa/ngx-enhancy-forms/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@klippa/ngx-enhancy-forms",
"version": "14.11.2",
"version": "14.11.3",
"publishConfig": {
"access": "public"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -214,10 +214,10 @@ export class SelectComponent extends ValueAccessorBase<string | string[]> implem
} else {
this.dropdownPanelOffsetX = -extraNeededSpace;
}
this.setPanelOffsets();
} else if (extraNeededSpace > spaceRightOfElRef) {
this.dropdownPanelOffsetX = -extraNeededSpace + spaceRightOfElRef - 20;
}
this.setPanelOffsets();
}
}
}
Expand Down

0 comments on commit 8f25031

Please sign in to comment.