Skip to content
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

fullscreen? #134

Open
Borna-f opened this issue Mar 2, 2022 · 2 comments
Open

fullscreen? #134

Borna-f opened this issue Mar 2, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@Borna-f
Copy link

Borna-f commented Mar 2, 2022

Hello,
Thank you for your great library. Does your library support fullscreen? I tried to do

<Dialog.Container
          contentStyle={{
             backgroundColor: 'blue'
             height: '100%',
             width: '100%',
         }}

But still, I see there is padding on top of my page. I am using Android 11, not sure if it matters.

@Borna-f Borna-f added the bug Something isn't working label Mar 2, 2022
@Borna-f
Copy link
Author

Borna-f commented Mar 2, 2022

I think the problem residers in Conainer.js where you do

centeredView: {
        marginTop: 22,
    },

Is there a way to avoid that? Or can you add a fullscreen option/prop?

@GunnarAK
Copy link

GunnarAK commented May 4, 2022

Why not use a regular modal that ships with RN instead?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants