1. Anuncie Aqui ! Entre em contato fdantas@4each.com.br

Angular ngx-boostrap datepicker position issue on mobile screen

Discussão em 'Angular' iniciado por Dhaval Chokshi, Outubro 4, 2024 às 12:52.

  1. ngx-bootstrap/datepicker is working fine when larger screen but not in mobile screens. Need help.

    [​IMG]

    But when I reduce the screen size to mobile (also on actual mobile devices), it opens in wrong position.

    [​IMG]

    ngx-bootstrap/datepicker version 5.3.2

    "ngx-bootstrap": "^5.3.2",

    This is how I am using that in the template.

    <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>

    Continue reading...

Compartilhe esta Página