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

Fixed view non-modal #27

Closed
RWOverdijk opened this issue Apr 3, 2019 · 6 comments
Closed

Fixed view non-modal #27

RWOverdijk opened this issue Apr 3, 2019 · 6 comments
Labels
🚀 New feature New feature or request

Comments

@RWOverdijk
Copy link

Great job on the module, turns out to be almost exactly what I need.

Is it somehow possible to make it not be a modal, and always be available? Like Apple Maps does with their search?

This seems to do exactly what I need, minus it being a modal. I need to not have a backdrop. 😄

@jeremybarbet
Copy link
Owner

Hey!

That's a great idea, I thought about this but didn't have time to work on it.

The backdrop is easy to remove with this style props https://jeremybarbet.github.io/react-native-modalize/#/PROPSMETHODS?id=overlaystyle you can pass backgroundColor: 'transparent'

For the feature to have it open by default, it's something that needs to be implemented. If you have time to work on it you can try to open a PR for it. I started a side-project using the modal, so I'll for sure push fixes for the current opened issues in the next weeks

@RWOverdijk
Copy link
Author

@jeremybarbet
Copy link
Owner

Modalize is inspired by this example. You could def have a boolean to either always show the modal or not

@RWOverdijk
Copy link
Author

RWOverdijk commented May 15, 2019

@jeremybarbet Having it be visible and not have a backdrop seems simple enough, but I can't figure how how to "dock" it, so it's not dismissed but instead "minimized". height is useful, but it doesn't seem to prevent dismissal.

I should also probably close this issue shouldn't I 😅

@jeremybarbet jeremybarbet added the 🚀 New feature New feature or request label May 16, 2019
@jeremybarbet
Copy link
Owner

You can keep it open, it's fine. It's a good idea to be implemented. I really don't have time lately, but hopefully, I will find in the future

@jeremybarbet
Copy link
Owner

jeremybarbet commented Jun 20, 2019

Hi!

It's now possible to keep the modal visible and toggle it full height or minimize it.

Documentation: https://jeremybarbet.github.io/react-native-modalize/#/PROPSMETHODS?id=alwaysopen
Example: https://github.com/jeremybarbet/react-native-modalize/blob/master/examples/expo/src/components/modals/AlwaysOpen.js

👌🏻

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

No branches or pull requests

2 participants