手机屏幕上的角度ngx-boostrap日期选择器位置问题

问题描述 投票:0回答:1

ngx-bootstrap / datepicker在较大的屏幕上工作正常,但在移动屏幕上工作不正常。需要帮助。

enter image description here

但是当我将屏幕尺寸缩小到移动屏幕(也在实际的移动设备上时,它在错误的位置打开。

enter image description here

ngx-bootstrap / datepicker版本5.3.2

“ ngx-bootstrap”:“ ^ 5.3.2”,

这就是我在模板中使用它的方式。

<div class="row">
  <div class="col-xs-12 col-12 col-md-6 form-group">
    <input type="text"
    class="form-control"
    style="cursor: pointer"
    readonly="true"
    [minDate]="minDate"
    [maxDate]="dt"
    #dp="bsDatepicker"
    bsDatepicker [(bsValue)]="bsValue"
    (bsValueChange)="UpdateDashboard()">
  </div>
</div>
css angular datepicker ngx-bootstrap
1个回答
0
投票

关于角度9,也有同样的问题。enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.