Giter Site home page Giter Site logo

Comments (6)

jeremybarbet avatar jeremybarbet commented on July 21, 2024 2

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

from react-native-modalize.

jeremybarbet avatar jeremybarbet commented on July 21, 2024

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

from react-native-modalize.

RWOverdijk avatar RWOverdijk commented on July 21, 2024

Cool :) I'm looking at this now: https://github.com/kmagiera/react-native-gesture-handler/blob/master/Example/bottomSheet/index.js

from react-native-modalize.

RWOverdijk avatar RWOverdijk commented on July 21, 2024

@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 😅

from react-native-modalize.

jeremybarbet avatar jeremybarbet commented on July 21, 2024

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

from react-native-modalize.

jeremybarbet avatar jeremybarbet commented on July 21, 2024

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

👌🏻

from react-native-modalize.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.