Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/harvestprofit/react-native-modal-patch
A slight rebuild/patch of React Native's Modal implementation to fix unmounting issues.
https://github.com/harvestprofit/react-native-modal-patch
Last synced: about 1 month ago
JSON representation
A slight rebuild/patch of React Native's Modal implementation to fix unmounting issues.
- Host: GitHub
- URL: https://github.com/harvestprofit/react-native-modal-patch
- Owner: HarvestProfit
- Created: 2019-12-02T22:17:24.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-26T14:27:46.000Z (almost 2 years ago)
- Last Synced: 2023-02-27T20:37:35.480Z (almost 2 years ago)
- Language: Objective-C
- Size: 1.2 MB
- Stars: 2
- Watchers: 2
- Forks: 3
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# react-native-modal-patch
## Getting started
`yarn add https://github.com/HarvestProfit/react-native-modal-patch.git`
### Install
`cd ios && pod install`
## Usage
This is the same API as the react native modal https://facebook.github.io/react-native/docs/modal#docsNav.
```javascript
import Modal from 'react-native-modal-patch';//....
render() {
return (
this.setModalVisible(false)} // <-- This gets called all the time
>
{/* modal contents */}
);
```