primevue
primevue copied to clipboard
Fix positioning of overlay arrows
###Defect Fixes This fixes https://github.com/primefaces/primevue/issues/5915
A few things:
ConfirmPopupwas definingoverlay.arrow.leftbut there were no references tooverlaydesign tokenPopoverdefinespopover.arrow.left, but only usespopover.arrow.offset- I renamed
overlay.arrow.lefttoconfirmpopup.arrow.leftto follow convention (there is an existingconfirmpopup.arrow.offset) - I added
arrow.leftin the arrow CSS, as I believe the separate tokenarrow.offsetwas meant for a fixed offset based on arrow size
Result:
- Calculated
arrow.leftvalues forconfirmpopupandpopoverare actually used in the positioning of the arrow to make it dynamic based on screen location.arrow.offsettoken is still used for arrow theming.
The latest updates on your projects. Learn more about Vercel for Git ↗︎
2 Ignored Deployments
| Name | Status | Preview | Comments | Updated (UTC) |
|---|---|---|---|---|
| primevue | ⬜️ Ignored (Inspect) | Visit Preview | Jun 27, 2024 3:31am | |
| primevue-v3 | ⬜️ Ignored (Inspect) | Visit Preview | Jun 27, 2024 3:31am |