-
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(Popper): add prop getFloatingElementHiddenStyles
#8126
base: master
Are you sure you want to change the base?
feat(Popper): add prop getFloatingElementHiddenStyles
#8126
Conversation
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. |
size-limit report 📦
|
e2e tests
|
👀 Docs deployed
Commit dbbb91d |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #8126 +/- ##
=======================================
Coverage 95.55% 95.55%
=======================================
Files 398 398
Lines 11332 11361 +29
Branches 3733 3747 +14
=======================================
+ Hits 10828 10856 +28
- Misses 504 505 +1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
Интересное решение 🤔
Описание
Нужно добавить возможность управлять стилями всплывающего элемента при использовании свойства
hideWhenReferenceHidden
Изменения
getFloatingElementHiddenStyles
для получения стилей при скрытии/появлении всплывающего элементаRelease notes
Улучшения
Popper
,Popover
иTooltip
добавлено свойствоgetFloatingElementHiddenStyles
для управления стилями всплывающего элемента при скрытии/появлении при использовании свойстваhideWhenReferenceHidden