<button [cModalToggle]="myModal.id" cButton> <c-modal id="myModal" #myModal [backdrop]="false" alignment="center"> <c-modal-footer> <button [cModalToggle]="myModal.id" cButton color="secondary">close</button> </c-modal-footer> </c-modal>
When the c-modal
is activated and then closed using the close button, the body scroll disappears.
This issue occurs because the BackdropService
calls hideScrollbar()
but does not call resetScrollbar()
. While hideScrollbar()
is triggered during the animation regardless of whether backdrop="false"
is set, resetScrollbar()
is not.
This behavior needs to be fixed.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4