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: hide overlay if position target element is hidden (#7454) (CP: 24.4) #7456

Merged
merged 1 commit into from
May 28, 2024

Commits on May 28, 2024

  1. fix: hide overlay if position target element is hidden (#7454)

    * fix: hide overlay if position target element is hidden
    
    If the target element is hidden, either by having `display: none` set to
    itself of any of its parents, a resize observer for that element is
    triggered.
    
    This change adds a check for the target element size on the resize
    observer callback and closes the overlay in case the element is hidden.
    
    Fixes #7437
    DiegoCardoso authored and vaadin-bot committed May 28, 2024
    Configuration menu
    Copy the full SHA
    d8ccf23 View commit details
    Browse the repository at this point in the history