Topic: sidenav with input error in mobile

erasmoc free asked 4 years ago


Expected behavior

When I open the sidenav and click on an input I hope that when the keyboard appears the sidenav does not close

Actual behavior

When I open the sidenav and click on an input when the keyboard appears the sidenav closes, either with an mdb-select with search or with an input search


Arkadiusz Idzikowski staff commented 4 years ago

How can we reproduce this problem on our end? Please provide some more details/screenshots/code.


erasmoc free commented 4 years ago

Please Add a SideNav with mdb-select with filterEnable; in mobile try search any option; whe I try this steps de sidenav close inmediatly touch de input


  • sylrom free answered 4 years ago


    Co z problemem opisanym w tym wątku - mam dokładnie to samo? Po rozwinięciu panelu sidenav na telefonie i chęci wpisaniu coś w pole input w moim przypadku, panel zostaje zamknięty. Dodam że problem występuje na telefonach z systemem android i po dodaniu właściwości [sidenavBreakpoint]="1440". Bez dodania tej właściwości wszystko działa ok.

    Sylwek


    Konrad Stępień staff commented 4 years ago

    Cześć @sylrom,

    Sprawdziłem twój problem i faktycznie coś takiego występuje. Znalazłem miejsce gdzie występuje problem, ale będziemy musieli to sprawdzić, żeby nie wywołać kolejnych błędów. Proszę poczekać na dalszy rozwój sytuacji.

    Pozdrawiam, Konrad.

    Hi @sylrom, I check your issue and actually such a thing occurs. I found the bug in our code, but we have to test it, for don't invoke other bugs when we fix it. Please wait for more info.

    Best regards, Konrad.


    erasmoc free answered 4 years ago


    this is my code

    <mdb-side-nav #sidenav [fixed]="true" [side]="'right'" [closeOnClick]="false" [sidenavBreakpoint]="1440">
    <links>
        <li *ngIf="tcdms > 1">
            <mdb-select class="cdmUserSelected pt-2" (ngModelChange)="cdmUserSelected($event)" [(ngModel)]="cdmsuser" [options]="cdmsuserOptions" placeholder="{{ 'txt_seleccionar_central' | translate }}" [visibleOptions]="6" [filterEnable]="true"></mdb-select>
        </li>
         </link>
    


    Arkadiusz Idzikowski staff commented 4 years ago

    Thank you for the example code, we will take a closer look at this problem.



    Please insert min. 20 characters.

    FREE CONSULTATION

    Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

    Status

    Answered

    Specification of the issue

    • ForumUser: Free
    • Premium support: No
    • Technology: MDB Angular
    • MDB Version: 8.5.0
    • Device: mobiles
    • Browser: all
    • OS: all
    • Provided sample code: No
    • Provided link: No