-
-
Notifications
You must be signed in to change notification settings - Fork 6
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
ScrollView ios safe area issue #2
Comments
@toby-wollit that s normal if you use |
The refreshControl is cut in half - How would we adjust its position so that it is visible? |
Also, after the first refresh the page content jumps up by the height of the safe area. (same issue mentioned here: https://stackoverflow.com/questions/53263346/nativescript-pull-to-refresh-page-behind-actionbar-after-refresh-nativescript) |
Again it is normal as you overflow the safe area and thus get under the notch. |
I agree that it makes sense the refresh control is within the safe area, but we need the ability to move the refreshControl so that it is visible. Also, the second issue is related to this plugin. Would you like me to setup an example repository? |
@toby-wollit i am sorry but it is out of the scope of that plugin. It follows the specs of safearea and i wont change that. You need to play with your listview contentOffset but again it is in the listview component not this plugin. |
Hey, did you ever found a solution for this? I am having the same issue, regardless of the value of iosOverFlowSafeArea. The loader never shows up for me, because I think it's hidden behind the ActionBar. Using the margin-top: 1 works, but it adds a really ugly padding to anything in the ScrollView.
Loader not visible: Margin causing content cut-off Any tips on how to do this without the margin would be helpful. |
@cuzzea dont think this is the same issue. try to wrap the pull inside a gridlayout |
I tried multiple combinations of layouts and properties with height and iosOverflowSafeArea and the best I could get was having the loader show up (with GridLayout and iosOverflowSafeArea="false" on ScrollView) but now I have the bottom part of the app cut off. I can see, using backgroundColor, that the grid view is taking the necessary space, going to the bottom of the screen, but the scroll view dose not.
I removed the PullToRefresh component, and now the cut-off height is 50% smaller
so in short
Let me know if I should move this conversation to a new issue to not span this one, if it's not related. |
@cuzzea no.let s keep it here. might be related. could you create a simple repro example? ( vue or vanilla, no angular) |
@cuzzea It solved the same problem |
When using PullToRefresh with
<ScrollView iosOverFlowSafeArea="true">
the refresh control sits inside the safe area behind the notch.The text was updated successfully, but these errors were encountered: