[Popup]: Clean up body style class on disconnect
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
When removing an open Popup with the modal property set or when removing an open Dialog from the DOM, the style class sapUiBLyBack is not removed from the body tag.
This is causing inconsistencies in our application.
Describe the solution you'd like
A clear and concise description of what you want to happen.
Implement the disconnectedCallback of the Web Components lifecycle in order to clean up the style.
Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered. None.
Additional context Add any other context or screenshots about the feature request here. Happy to submit a Pull Request if desired 😄
The issue was solved.
PS: Would like to hear feedback if the solution fits your use case.