-
Notifications
You must be signed in to change notification settings - Fork 15
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
Self Styled modal in the template of react-pure-modal #51
Comments
Do you have the same problem on a demo page? |
No however the actual demo page isn't scrollable, whereas the url bar only disappears on firefox when the page is scrollable. when I say page I mean the page where all your buttons are i.e. "open scrollable modal....." etc... I tried using most of your css for the backdrop & modal which is of the form:
And then the react setup is
i've tried playing around with autofocus on the input but that doesn't seem to change anything do you have any idea? |
I added to the actual example 150vh body height. Did you see the same problems in example? |
@max-mykhailenko yup similar behaviour :O |
I'm finally detect it. So problem happens when modal contains input and keyboard is opened. Body in this case has additional undetectable bottom margin/padding. |
What do you mean by the "body" and also have you thought of a solution ? Do you have discord and we can maybe have a chat about this solution? |
body as tag You can send PR or my team will check this problem when will have time. |
ok i will have a look in a second |
Are you talking about setting body, html to 0 i.e.
|
As I saw, it doesn't help |
I still can't really find a way of preventing / solving this issue, so if you have any thoughts feel free @max-mykhailenko |
I was wondering if anyone else had come up with a similar issue, when styling/using a modal. The highlighted area in blue signifies where the mozilla firefox url bar goes. This is on an android mobile phone using Mozilla Firefox.
When i then scroll up on the modal itself the url bar appears. The styling I have used is inspired by the styling for the react pure modal components.
The text was updated successfully, but these errors were encountered: