Skip to content

Commit

Permalink
fix(timepicker): change position adjustment to "counterclockwise" (#3085
Browse files Browse the repository at this point in the history
)

"counterclockwise" position adjustment prevents timepicker from going outside the window horizontally

Co-authored-by: Eugene Sinitsyn <esinitsyn@pushnami.com>
  • Loading branch information
eugene-sinitsyn and Eugene Sinitsyn committed Aug 1, 2022
1 parent 97ae9f9 commit a546295
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ export class NbTimePickerDirective<D> implements AfterViewInit, ControlValueAcce
.connectedTo(this.hostRef)
.position(NbPosition.BOTTOM)
.offset(this.overlayOffset)
.adjustment(NbAdjustment.VERTICAL);
.adjustment(NbAdjustment.COUNTERCLOCKWISE);
}

protected getContainer() {
Expand Down

0 comments on commit a546295

Please sign in to comment.