Skip to content

[feat]: API for persisting Overlay content across parent element scrolls #3990

Open
@siddhantAdobe

Description

@siddhantAdobe

Code of conduct

  • I agree to follow this project's code of conduct.

Impacted component(s)

,

Expected behavior

When scrolling the parent div, the sp-popover or sp-tooltip should not get closes automatically.

Actual behavior

When scrolling the parent div, the sp-popover or sp-tooltip get closed automatically.

Screenshots

Screen.Recording.2024-02-01.at.12.15.37.PM.mov

What browsers are you seeing the problem in?

Firefox, Chrome, Safari, Microsoft Edge

How can we reproduce this issue?

  1. Go to 'new.express.adobe.com'
  2. Create a video project with timeline.
  3. Increase the scene width using trim handles and observe the timecode popover over the trim handle
  4. Popover gets closed as soon as the scrolling start.
  5. Same issue is observed when moving the trackpin near the edge and timeline gets scrolled.

Sample code that illustrates the problem

https://studio.webcomponents.dev/edit/KeJx04t6aDK9hORsw7yP/src/index.ts?p=stories

Logs taken while reproducing problem

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions