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

[Popover]: Does not close when focus goes to a nested iframe #7994

Closed
1 task done
MapTo0 opened this issue Dec 12, 2023 · 0 comments · Fixed by #8961
Closed
1 task done

[Popover]: Does not close when focus goes to a nested iframe #7994

MapTo0 opened this issue Dec 12, 2023 · 0 comments · Fixed by #8961
Assignees
Labels
bug This issue is a bug in the code Medium Prio TOPIC RD

Comments

@MapTo0
Copy link
Member

MapTo0 commented Dec 12, 2023

Bug Description

Hello,

The Popover is not closing when we focus out it and the target is contained in an iframe within a shadowroot.
As mentioned in #6087 Popover does not close when the focus goes to an iframe.

In our use case (Rich Text Editor), feel free to contact me for reproducible example (internal), the structure is the following

<rich-text-editor>
  #shadow-root
    <editor>
      #shadow-root
        <iframe>

and the logic https://github.com/SAP/ui5-webcomponents/blob/main/packages/main/src/popup-utils/PopoverRegistry.ts#L22-L26

does not cover the use case.

Affected Component

Popover

Expected Behaviour

No response

Isolated Example

No response

Steps to Reproduce

internal, feel free to contact me.

Log Output, Stack Trace or Screenshots

No response

Priority

Medium

UI5 Web Components Version

latest

Browser

Chrome, Edge, Firefox, Safari

Operating System

No response

Additional Context

No response

Organization

No response

Declaration

  • I’m not disclosing any internal or sensitive information.
@MapTo0 MapTo0 added bug This issue is a bug in the code TOPIC RD labels Dec 12, 2023
@MapTo0 MapTo0 added this to New Issues in Maintenance - Topic RD via automation Dec 12, 2023
@TeodorTaushanov TeodorTaushanov self-assigned this Jan 23, 2024
@TeodorTaushanov TeodorTaushanov removed their assignment Mar 20, 2024
@TeodorTaushanov TeodorTaushanov self-assigned this May 15, 2024
Maintenance - Topic RD automation moved this from New Issues to Completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue is a bug in the code Medium Prio TOPIC RD
Projects
Status: Completed
Development

Successfully merging a pull request may close this issue.

3 participants