-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to limit max expanded height? #322
Comments
have same problem too |
Not sure if you tried, but passing in |
@justinmwarner Thank you for the solution, my solution is set the style of ScrollView in ActionSheet with |
https://rnas.vercel.app/guides/safearea Isn't the drawUnderStatusbar={false} supposed to solve this problem? That prop does nothing for me it seems. Version 0.8.21 |
This will be fixed in #330 You can set the |
Read the op issue. It mentions using snap points and it does not fix the issue. Your test case I imagine does not have enough content in it to see the actual issue... |
You can't limit max height with snap points, you can however using maxHeight on |
Using |
@blazk0 did you find any solutions or workarounds for this issue? My workaround is to set the
|
How do you prevent a sheet from going beyond a max height or snap point? I have tried setting a snap point to 75 for example, but it will allow me to expand it even further, if there is content in the view large enough. The preference would be to set a limit for the max height and have the scroll view handle the overflow.
Here is an example of difference in functionality between platforms. We do not like the ios behavior of how it will up into the status bar. it should behave like android does
The text was updated successfully, but these errors were encountered: