Skip to content

rc-trigger cause popup window to glitch when there not enough width size #496

Closed
@yhy-1

Description

@yhy-1

When the popup window do not have enough space it causes the popup to glitch. You can observe this behavior in the video linked below:

2024-12-02_16-19-16.mp4

Step to reproduce:

  1. Navigate to the portal example in the demo using rc-trigger v2.2.5.
  2. Resize the window so that the popup appears slightly off-screen.
  3. Watch for the glitch in the popup during the transition. It looks like the style are being recalculate.

This is causing issue because when working with microfrontend, each microfrontend has it designed container. The glitch happens when the popup extends outside the container of the microfrontend that triggers it, leading to this unexpected behavior.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions