Skip to content

OverlayPanel: Incorrect Arrow Position when the OverlayPanel is aligned to the right of the screen #7689

@GabriellDatacamp

Description

@GabriellDatacamp

Describe the bug

Morning! When the OverlayPanel is aligned to the right of the screen, the arrow comes out of the panel as in the printscreen

Image

Reproducer

https://stackblitz.com/edit/vrknqwq8?file=src%2FApp.tsx

System Information

System:
    OS: Linux 5.15 Ubuntu 20.04.6 LTS (Focal Fossa)
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i7-1255U
    Memory: 5.05 GB / 15.31 GB
    Container: Yes
    Shell: 5.0.17 - /bin/bash
  Binaries:
    Node: 20.12.0 - ~/.nvm/versions/node/v20.12.0/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.0/bin/npm
  Browsers:
    Chrome: 133.0.6943.53
  npmPackages:
    primereact: ^10.9.2 => 10.9.2 
    react: 18.2.0 => 18.2.0

Steps to reproduce the behavior

No response

Expected behavior

The arrow is expected to be aligned next to the panel

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIssue contains a defect related to a specific component.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions