-
Notifications
You must be signed in to change notification settings - Fork 184
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
Fix ModalDismissButton appearance in the doc #5764
Fix ModalDismissButton appearance in the doc #5764
Conversation
The button dissapeared from the screen after b5aa644 Because we started to rely on the .PopoutWrapper__content position relative, but the with of PopoutWrapper is the whole screen.
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. Latest deployment of this branch, based on commit 6f224dd:
|
👀 Docs deployed
Commit 6f224dd |
Codecov ReportPatch and project coverage have no change.
Additional details and impacted files@@ Coverage Diff @@
## master #5764 +/- ##
=======================================
Coverage 81.99% 81.99%
=======================================
Files 298 298
Lines 9839 9839
Branches 3115 3115
=======================================
Hits 8067 8067
Misses 1772 1772
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
The button dissapeared from the screen after b5aa644 Because we started to rely on the .PopoutWrapper__content position relative, but the with of PopoutWrapper is the whole screen.
The button dissapeared from the screen after b5aa644 Because we started to rely on the .PopoutWrapper__content position relative, but the with of PopoutWrapper is the whole screen.
✅ v5.8.1 🎉 |
Описание
Кнопка пропала из документации https://vkcom.github.io/VKUI/#/ModalDismissButton
Пропажа связана с
b5aa644
потому что мы стали полагаться на
position: relative
PopoutWrapper__content
, но в примере он имеет ширину на всю страницу.Вернул position: relative в пример.
Изображения
До

После
