Skip to content

[🐛 in esl-popup]: popup is still visible and moves across the screen when the trigger is outside the viewport #3199

@dshovchko

Description

@dshovchko

When the viewing area for a popup is a container element, such as a modal window, an error occurs where the popup goes outside the viewing area when scrolling. After leaving the viewing area, the popup closes, but this happens with a slight delay, so if you scroll the page quickly, you can see the popup where it is not supposed to be.

This video will help you understand the problem.

Screencast.from.2025-06-26.14-23-01.webm

Current behavior
Popup manages to go beyond the viewing area before it is closed due to the popup trigger leaving the viewing area.

Expected behavior
The popup should not go beyond the viewing area and should be closed immediately if the popup trigger goes outside the viewing area.

Metadata

Metadata

Assignees

Labels

waits triageIssue that waits to be reviewed and handled

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions