-
Notifications
You must be signed in to change notification settings - Fork 185
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
feat(Popover): add disablePlacementFlip prop #6922
Conversation
size-limit report 📦
|
This pull request is automatically built and testable in CodeSandbox. To see build info of the built libraries, click here or the icon next to each commit SHA. |
e2e tests |
👀 Docs deployed
Commit 4ddc817 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #6922 +/- ##
==========================================
+ Coverage 83.35% 83.36% +0.01%
==========================================
Files 351 351
Lines 10469 10482 +13
Branches 3475 3482 +7
==========================================
+ Hits 8726 8738 +12
- Misses 1743 1744 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
packages/vkui/src/lib/floating/useFloatingMiddlewaresBootstrap/index.ts
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
❤️
Описание
Иногда требуется отключить автоматический расчет наиболее удачного расположения
Изменения
Добавляем
disablePlacementFlip
, чтобы форсироватьplacement
, отключая применение плагиновflipMiddleware
иautoPlacementMiddleware