Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(ui5-popup): hide block layer if popup is closed #2799

Merged
merged 1 commit into from
Feb 9, 2021
Merged

fix(ui5-popup): hide block layer if popup is closed #2799

merged 1 commit into from
Feb 9, 2021

Conversation

dimovpetar
Copy link
Contributor

@dimovpetar dimovpetar commented Feb 8, 2021

The block layer is created when #getStaticAreaItemDomRef is called, but the attribute "hidden" is not set at that time. Now it's set on onEnterDOM hook, unless the popup is already opened.

Fixes: #2696

Thank you for your contribution! 👏

To get it merged faster, kindly review the checklist below:

Pull Request Checklist

The block layer is created when #getStaticAreaItemDomRef is called,
but the attribute "hidden" is not set at that time. Now it's set
on onEnterDOM hook, unless the popup is already opened.

Fixes: #2696
@dimovpetar dimovpetar requested a review from a team February 8, 2021 14:04
@ilhan007 ilhan007 changed the title fix(ui5-popup): block layer is now not shown if popup is closed fix(ui5-popup): hide block layer if popup is closed Feb 9, 2021
@ilhan007 ilhan007 merged commit 6f82e42 into SAP:master Feb 9, 2021
@dimovpetar dimovpetar deleted the fix_dialog_overlay branch February 9, 2021 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Dialog unexpectedly renders overlay when it is actually closed
2 participants