-
Notifications
You must be signed in to change notification settings - Fork 36
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
[VO-889] fix(PermissionDialog): Show overflow icon on iOS #2670
Conversation
944fb3d
to
3f78f36
Compare
@@ -455,7 +455,7 @@ export const makeLightNormalOverrides = theme => ({ | |||
maxWidth: '800px' | |||
} | |||
}, | |||
'&.overflow': { | |||
'&.overflow, &.overflow .cozyDialogContent': { |
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.
si ça t'ennuie pas je préfère séparer les éléments, c'est ce qu'on fait partout et je trouve que la lisibilité est meilleure, ça évite de rater un truc en lisant vite...
'&.overflow': {
overflowY: 'visible !important' // Allow the icon to overflow the dialog, otherwise it will be cut off,
'& .cozyDialogContent': {
overflowY: 'visible !important' // Allow the icon to overflow the dialog, otherwise it will be cut off
}
}
Par contre ça pose quand même question 🤔 est-ce que les deux sont vraiment nécessaires ?
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.
Je check ça
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.
Unfortunately I need both conditions for it to work. I separated it as you suggest
3f78f36
to
8e73f83
Compare
MUI adds a `-webkit-overflow-scrolling` property to manage scrolling on iOS. This is act as a counter-effect to `overflow-y: visible` of the parent to display the icon beyond the modal.
8e73f83
to
c4507ff
Compare
🎉 This PR is included in version 110.8.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
MUI adds a
-webkit-overflow-scrolling
property to manage scrolling on iOS on the content. This is act as a counter-effect tooverflow-y: visible
of the parent to display the icon beyond the modal.