Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1852849

Browse files
committed
chore: sync with v4.3
2 parentsd5b5b90 +6293ea1 commit1852849

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

‎projects/coreui-angular/src/lib/offcanvas/offcanvas/offcanvas.component.ts‎

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -237,8 +237,10 @@ export class OffcanvasComponent implements OnInit, OnDestroy {
237237
ngOnInit():void{
238238
this.#scrollbarWidth=this.backdropService.scrollbarWidth;
239239
this.stateToggleSubscribe();
240-
// hotfix to avoid end offcanvas flicker on first render
241-
this.renderer.setStyle(this.hostElement.nativeElement,'display','flex');
240+
setTimeout(()=>{
241+
// hotfix to avoid offcanvas flicker on the first render
242+
this.renderer.setStyle(this.hostElement.nativeElement,'display','flex');
243+
})
242244
}
243245

244246
ngOnDestroy():void{

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp