Topic: Angular 18 Dropdown in Navbar is initially expanded

sistemiUCSC priority asked 15 hours ago


*_Expected behavior_*drop down open and close should work and by default the dropdown should be close which is right here in open state.

*Actual behavior*dropdown is not working and by default dropdown state is open.

Resources (screenshots, code snippets etc.)

<div class="btn-body">
  <uf *ngIf="iconLeft" icon="{{ iconLeft.iconName }}" class="uf left" [ngClass]="{'m-0': onlyIconLeft}"
    [loadSvgFile]="iconLeft.loadSvgFile" [showCircle]="iconLeft.showCircle" [color]="iconLeft.color"></uf>
  <div class="text" *ngIf="buttonDropDown.label">
    {{ buttonDropDown.label | translate }}
    <ng-container *ngIf="buttonDropDown.label2">
      <br />
      {{ buttonDropDown.label2 | translate}}
    </ng-container>
  </div>
  <uf *ngIf="iconRight" icon="{{ iconRight.iconName }}" class="uf right" [ngClass]="{'m-0': onlyIconRight}"
    [loadSvgFile]="iconRight.loadSvgFile" [showCircle]="iconRight.showCircle" [color]="iconRight.color"></uf>
</div>

{{ buttonDropDown.counterValue }}



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: MDB5 7.1.0
  • Device: no
  • Browser: chroome
  • OS: windows
  • Provided sample code: No
  • Provided link: No