Questions tagged [react-native-modalize]
14 questions
2
votes
2 answers
React Native Modalize - cannot scroll FlatList inside Modalize
I'm using react-native-modalize with flatListProps but I can't scroll the flatList, I tried panGestureEnabled={false}, or remove the height style but none of them fix it, here is my code:

Huan Huynh
- 399
- 6
- 16
2
votes
0 answers
Getting a modal to be behind tabNavigator using Modlize alwaysOpen
So I'm pretty new to programming and while making my first React Native project I got stuck trying to create a modal that's always open behind the bottom nav (The reason I want it that way is for it to be like a cart where whenever the user adds…

Mateus.cm
- 21
- 1
2
votes
0 answers
Why is state not showing up in the Modalize onOpened event?
I have what seems to be a simple setup.
Some state the that holds the selected task.
A useEffect that
opens the modal when the state is updated.
The modal opens, and inside the TaskScreen I'm able to console log selectedTask.
The problem is the…

GollyJer
- 23,857
- 16
- 106
- 174
1
vote
0 answers
React-Native modal work on Android but not iOS
I have many modals in my app but one particular modal is failing to show on iOS, it works fine on Android devices. It appears to be opening but not becoming visible as I can not interact with the page "behind" the modal but can still interact with…

Aaron Harker
- 173
- 1
- 2
- 11
1
vote
0 answers
Is that good idea to locate Modalize component to height level node
I'm new to react-native. And I ran into one issue. Is it possible to use Modalize in the topmost node (before the navigator) as a context.
To call it like this.
useEffect(() => {
modal.open({
component: TEST modal ,
})
},…

qosh_dev
- 11
- 2
1
vote
0 answers
React Native modalize trying to have two always open destinations
I currently have a modal using React Native modalize. The modal is always open at 500 and when I swipe the modal up, it opens to 700. The functionality is currently working.
I am trying to add that when the always open modal at 500 is swiped down,…

kd12345
- 689
- 10
- 29
0
votes
1 answer
Material-Top-Tabs is not rendering in Modalize
I'm trying to use material-top-tabs in modalize but only headers are coming in. The page itself is not rendering. When I try to use react-native-tab-view instead of material, the pages render, but there is a problem with adjusting the height. so the…

knlcl
- 1
- 2
0
votes
0 answers
Typescript error on SectionList props "is not assignable to type 'AnimatedProps>' "
I'm using a SectionList with the react-native-modalize lib to display it on a modal. Everything is working, but TypeScript is giving me this error on the 'sectionListProps' prop of the 'Modalize':
Type '{ keyExtractor: (item:…

leonardogbxv
- 110
- 1
- 8
0
votes
0 answers
React-native-modalize not expanding on swipe in React-native expo
On android of react-native-modalize it is not possible to expand the modal on swipe . I tried to add properties but it does not work:
"react-native": "0.69.5",
"react-native-modalize": "^2.1.1",
Please can you share your experience how to solve…

dev man
- 1
0
votes
1 answer
On android of react-native-modalize swipe is not working
On android of react-native-modalize it is not possible to close the modal by swipe. On IOS it is working perfect with out any bugs, even ScrollView inside of modal. I tried to add properties but it does not…

jocoders
- 1,594
- 2
- 19
- 54
0
votes
2 answers
How to check if my react-native-modalize modal is open or close?
Actually i am working on multiple modal at once so i have to make a condition that if my modal with "xyz" ref is close then display a button.

anonymous
- 5
- 4
0
votes
1 answer
Error: It is not supported to use minDist with activeOffsetX or activeOffsetY
is there any fix for this now?
https://github.com/jeremybarbet/react-native-modalize/issues/374

classmaster01
- 11
- 1
0
votes
1 answer
Modalize React-Native Error: It is not supported to use minDist with activeOffsetX or activeOffsetY
I'm using RN Modalize and have had several projects using the react-native-modalize library and no problems so far.
but this time I created a new project and have followed the tutorial to apply react-native-modalize but get an error like this…
-1
votes
1 answer
Recently I started using react-native-modalize but encountered an issue with unit testing. How to unit test react-native-modalize
the sample code is here.
Please help me to unit test this peace of code.
import { View, Text } from 'react-native'
import React, { useRef, useEffect } from 'react'
import { Modalize } from 'react-native-modalize'
const…