Comments (7)
Hi @vforvasile, thank you for using Modalize.
No, I don't have any ETA. I'm trying to work on it when I have a bit of time, but I'm quite busy. If you have any idea how to fix this, I would be happy to review your PR!
You can use position absolute on the Header/Footer components so they will be on top of the scrollview, and will stay fixed. You have an example here: https://github.com/jeremybarbet/react-native-modalize/blob/master/examples/expo/src/components/modals/AbsoluteHeader.js#L9-L24
from react-native-modalize.
Now able to toggle the prop and re-calculate the height https://b.ueno.is/p9uK9P5d Fixed in rc-17
.
from react-native-modalize.
Hi!
This is not an issue. The adjustToContentHeight
is initialized when the component is mounted for the first time. Which mean even when you change the props, the calculation is not run again.
We would need to introduce a listener on the component to run the functions needed, feel free to open a PR to add this
from react-native-modalize.
Hey @jeremybarbet!
Amazing job with the library, found out about it on reddit and switched from react-native-reanimated-bottom-sheet
right away.
Any ETA on dynamic height feature?
On a separate issue, is there any method of overlaying something on the Modalize with an absolute position that won't move on scroll? Header/footer components don't really do the job for me, they're scroll dependant.
from react-native-modalize.
@jeremybarbet , I tried this approach, it works well if you open Modalize at full height, if you have a snap point then the FlatList will move with the absolute element.
I tested with a new prop childOverlay in renderModalize()
, by setting zIndex over 100 and absolute styling (bottom:0) to childOverlay I'm passing
Now it works even if I scroll up/down, move from snap point to full mode
from react-native-modalize.
Would you mind creating a PR to introduce this new props?
from react-native-modalize.
on it!
from react-native-modalize.
Related Issues (20)
- TextInput is hidden with floating component HOT 1
- Problem with panGestureAnimatedValue HOT 2
- swiping down to scoll to top in webview wrapped in modalize HOT 2
- Renderer Error on close if HeaderComponent uses redux selector
- Smoother animations for alwaysOpen props HOT 1
- avoidKeyboardLikeIOS not working well on android HOT 2
- Can't scroll with adjustToContentHeight (android 10) HOT 2
- new modalize on top of previous modalize HOT 1
- TextInput with iOS hardware keyboard not working
- How to disable android back button when modalize is opened
- Determine current modal height and/or current position
- panGestureAnimatedValue doesn't change with <Modalize>.open()
- Drag event is not available when model up-down.
- Rerender "renderItem" + "keyExtractor" HOT 1
- Left hand swipe up not working
- scroll not working with HeaderComponent on android HOT 5
- how to open the modal when a success API response comes? in the then callback
- Text Flickering While Typing HOT 2
- Handle is visible above a plain view
- Modal Jumping height after opening if I'm closing it with pan gesture HOT 9
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-modalize.