feat(NcPopover): expose distance and skidding props#8484
Conversation
-e Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8484 +/- ##
=======================================
Coverage 54.55% 54.55%
=======================================
Files 106 106
Lines 3439 3439
Branches 1002 1003 +1
=======================================
Hits 1876 1876
Misses 1322 1322
Partials 241 241 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Could you add more details?
I assume this is to align the popover with the app container.
With "CSS Hacks" we can say that the menu is exactly on the But with Also, with |
For our consumer, a CSS workaround that just shifts the popover ( Going through
|
|
Although I noticed that |
|
Closing for now in favor of CSS workaround. |


floating-vue's
<Dropdown>acceptsdistanceandskiddingfor nudging the popper relative to the trigger. NcPopover hardcodesdistanceto10and never passesskiddingthrough, so consumers can't shift a popover without CSS hacks that confuse the positioning math. Defaults are preserved, so this is non-breaking.Resolves
Needed for the redesigned app launcher in nextcloud/server#59888.
Screenshots
No visual change with defaults.
Tasks
distanceandskiddingprops<Dropdown>Checklist
stable8for Vue 2 or not applicable: additive and non-breaking. Happy to backport if needed.