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

Commit7858180

Browse files
committed
fix(modal): scrollbar disappears on backdrop=false,closes#224 - thanks@tturbs
1 parent647deba commit7858180

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

‎projects/coreui-angular/src/lib/form/form-floating/form-floating.directive.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { booleanAttribute, Directive, input } from '@angular/core';
77
exportclassFormFloatingDirective{
88
/**
99
* Enable floating labels
10-
*@type boolean
10+
*@dafault boolean
1111
*/
1212
readonlyfloating=input(true,{transform:booleanAttribute,alias:'cFormFloating'});
1313
}

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -261,6 +261,7 @@ export class ModalComponent implements OnInit, OnDestroy, AfterViewInit {
261261
setTimeout(()=>{
262262
if(event.toState==='hidden'){
263263
this.#renderer.setStyle(this.#hostElement.nativeElement,'display','none');
264+
this.#backdropService.resetScrollbar();
264265
}
265266
});
266267
this.show=this.visible;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp