An enhanced, animated and customizable react-native modal component with additional animations and styles customization options available through a plain-simple API.
Questions tagged [react-native-modal]
114 questions
0
votes
2 answers
react native:Unable to set custom height to modal
I am new to react-native and I am trying to give custom height to modal and to be centered in the screen using the following code.

Chandler Bing
- 293
- 4
- 18
0
votes
1 answer
react native: modal is not displaying
I am new to react-native and I am trying to display modal in react-native with following code
{this.toggleModal(true) }} onBackdropPress={ () =>
{this.hideModal(false)}}>
…

Chandler Bing
- 293
- 4
- 18
0
votes
0 answers
TypeScript Error:Unhandled Promise Rejection after attempting to post data
I have created a button Add Margin inside flatlist that is posting data to backend, however when I try to post it throws me Unhandled Promise Rejection error.
My add margin function is as follows:
margin = () => {
let data = {
method:…

TRINA CHAUDHURI
- 627
- 1
- 11
- 42
0
votes
1 answer
How to show selected value from modal on text component in react-native
How to set selected value from modal on text component in react-native.
I am using modal component from 'react-native'.
import { StyleSheet, View, Text, TouchableOpacity, Image,Modal,} from 'react-native'
…

Raghusingh
- 398
- 3
- 10
- 33
0
votes
0 answers
How do I position the button container at the bottom of a draggable modal box in react-native?
I have a modal box which has some content and at the bottom a button container which has two buttons. I want the button container to be always relative to the screen / viewport. Now the tricky part is the modal box is draggable. I can move it up and…

Vishnu Mohan
- 111
- 5
0
votes
1 answer
Open react-native Modal on button click on actionsheet option
I am using react-native-actionsheet library.
I want to open react-native Modal when I click on one of the option on action sheet and want to close react-native actionsheet.
Is any method to close actionsheet.
…

Ravi Sharma
- 507
- 6
- 21
0
votes
1 answer
React Native Pass Selected asyncStorage value to Popup onPress
I'm trying to make a popup screen for the value I have selected. Which is in the localstorage.
I am trying to pass the value firstname, lastname, phone to Popup.
Like this
I want the value "h" to show up next to 'Call' and 'Text'.
{
…

quad clipse
- 5
- 3
0
votes
1 answer
show toast when modal is visible in my react native project?
enter code hereI want to show a toast when my modal is visible in my react native project.
I use react-native-modal.
I have a button in modal when i press it should show up a toast
I don't want to put my toast tag inside the modal tag
what should i…

Badri Derakhshan
- 51
- 1
- 13