Open tietor opened 1 year ago
Facing the same issue on tablets and phones. When opening the calendar with adaptivePosition: true
, some of its portion is getting out of the viewport.
CC: @valorkin
What is with this issue? I'm still waiting for a solution
@tietor hey, could you provide a proper plunker or stackblitz reproduction?
Bug description:
I have this code here:
the datepicker won't get displayed correctly:
this happens because of the following style properties:
overflow-x: auto; overflow-y: hidden
if i remove these 2 properties, the datepicker is displayed correctly:
why does these 2 css properties have negative impacts to the
adaptivePosition
? in my opinion theadaptivePosition
should also work, when i set these 2 css properties. it shouldn't consider them. it should consider the browser window.Versions of ngx-bootstrap, Angular, and Bootstrap:
ngx-bootstrap: 10.2.0
Angular: 15.0.1
Bootstrap: 5.2.3