-
Notifications
You must be signed in to change notification settings - Fork 4.5k
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
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
OverlayPanel target arrow points to the wrong position when target is on the right edge of the screen #10484
Comments
I'm having the same issue in v11. |
Any progress? Hate to say PrimeNG library is not designed properly. |
Hi, So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you reopen the issue so we can include it in our roadmap? Best Regards, |
… when target is on the right edge of the screen
fixed in f9f7e47 |
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
Please demonstrate your case at stackblitz by using the issue template below. Issues without a test case have much less possibility to be reviewd in detail and assisted.
https://stackblitz.com/edit/angular-ivy-1asash
Current behavior
I'm having the same problem with the overlaypanel when it's called in the right edge of the screen the arrow shows out of the panel box. I don't know if it's an issue of my project or if it's a primeng thing because of the arrow position calculation it seems weird. This only happens when the overlaypanel is called on the right side of the screen, if I change the position of the element that calls the overlaypanel everything works just fine.
Expected behavior
Should open the overlaypanel with the arrow above the box
Minimal reproduction of the problem with instructions
https://stackblitz.com/edit/angular-ivy-1asash
What is the motivation / use case for changing the behavior?
When the overlay panel is called on the edge of the right side of the screen the arrow is misplaced
Please tell us about your environment:
Angular version: 5.X
12.2.0
PrimeNG version: 5.X
12.0.1
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
all
Language: [all | TypeScript X.X | ES6/7 | ES5]
all
Node (for AoT issues):
node --version
=all
The text was updated successfully, but these errors were encountered: