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

Modal: scroll disappears whenbackdrop="false" #224

Closed
Assignees
xidedix
Labels
bugSomething isn't working
@tturbs

Description

@tturbs
  • Operating system and version (Windows, macOS, Android, iOS) - macOS
  • Browser and version (Chrome, Firefox, Safari, Microsoft Edge, Opera, Android Browser) - chrome 136.0.7103.114
  • Areduced test case or suggested fix usingCodePen orJS Bin
<button[cModalToggle]="myModal.id"cButton><c-modalid="myModal"#myModal[backdrop]="false"alignment="center">  <c-modal-footer>    <button[cModalToggle]="myModal.id"cButtoncolor="secondary">close</button>  </c-modal-footer></c-modal>

When thec-modal is activated and then closed using the close button, the body scroll disappears.

This issue occurs because theBackdropService callshideScrollbar() but does not callresetScrollbar(). WhilehideScrollbar() is triggered during the animation regardless of whetherbackdrop="false" is set,resetScrollbar() is not.

This behavior needs to be fixed.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp