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

transparentModal covers up Toasts, warning messages, etc #535

Closed
Aryk opened this issue Jun 7, 2020 · 8 comments
Closed

transparentModal covers up Toasts, warning messages, etc #535

Aryk opened this issue Jun 7, 2020 · 8 comments

Comments

@Aryk
Copy link

Aryk commented Jun 7, 2020

I use the transparentModal quite often in my app because I like the screen to come up from the bottom in certain places. I don't like to use "modal" because I like it to come all the way to the top and not stop 85% of the way.

After months of development I constantly hit problems with rendering Toast in a transparentModal, even if I put inside the Stack Navigator. It also hides warning messages. I've tried Toast with native-base and toast with react-native-tiny-toast, can't get either to work inside transparentModal.

Maybe someone can point me in the right direction. How can I get navigators natively to come up from the bottom (all the way to the top) without the headaches I get with transparentModal?

I ultimately just want native, simple screen transitions, nothing fancy, but I find myself spending a lot of time trying to hack my way around transparentModal's all-or-nothing behavior where it simply covers literally everything...

Maybe there is a different way to achieve screens transitioning in from the bottom?

I'm using Expo 37 with react-native-screens 2.8.0.

@hirbod
Copy link
Contributor

hirbod commented Jun 7, 2020

When you use Expo you use v2.2.0 and not 2.8.0

@Aryk
Copy link
Author

Aryk commented Jun 8, 2020

I was looking at this page. Is that written anywhere?

Just curious, why is the version stuck at 2.2.0 for expo?

How will using 2.2.0 solve this issue? Does it use a different implementation of transparentModal?

@hirbod
Copy link
Contributor

hirbod commented Jun 8, 2020

It does not solve the issue, I just wanted to make sure you understand that installing 2.8.0 on expo won’t give you 2.8.0 but only 2.2.0 since expo bundles native codes with SDK releases and you are stuck to the delivered version till a new SDK comes out

@Aryk
Copy link
Author

Aryk commented Jun 8, 2020

Got it, and thoughts on how to solve my issue?

@hirbod
Copy link
Contributor

hirbod commented Jun 8, 2020

No, I have the same issue and it’s already reported couple of times.

@Aryk
Copy link
Author

Aryk commented Jun 12, 2020

I did a few searches and nothing came up. What's the official thread on this so I can follow it?

@WoLewicki
Copy link
Member

@Aryk I believe it is #525. Can I close this issue to keep the discussion in one place then?

@WoLewicki
Copy link
Member

Closing this in order to keep the discussion in one place (#525).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants