-
Notifications
You must be signed in to change notification settings - Fork 27
iOS bounce up on refresh and no animation #60
Comments
Quick fix for this is |
@markosole you're the man ! I was so annoyed by this issue. Your workaround fixed both problems - incorrect rendering and no animation. |
Yea, I'm not sure what causes this but tomorrow I need to look into this plugin a bit for an app so maybe I'll find something for this also. |
After some investigation, I could say that this issue caused by
|
@ycherniavskyi |
@markosole, unfortunately, your solution break blur effect of |
I am programatically creating the PullToRefresh control and the entire page content as well (thats required). Snippet of code below
Now, I am forced to wrap my page content (stackLayout) inside a 'scrollView' else Now after wrapping in a scrollview i had the same problem as mentioned above, which got fixed with the margin-top solution. However in some pages when the background of the component is different than the background (scroll view), I see a slight gap between the action bar and the first component in the page. Is there something else that can be done? |
@jagadish-kb my workaround for this problem was to use |
@ychernioiavskyi Thanks for your suggestion. Initially i was going to just use RadListView component which has this pullToRefresh feature in-built & thought will just set 1 item in the list. However when working with both This is where i felt this plugin is better than |
I found a solution. Instead of wrapping my entire page content (stacklayout) in a scroll view, i just figured out that the first child in the stacklayout is a nativeview (coming from a plugin) which was of type 'UITableViewController', which implements the protocol 'UIScrollViewDelegate', & hence suffices this check here, when i set this directly as PullToRefresh's content & then without the extra scrollview wrapper everything works perfectly. Looking back at the code now makes sense why these checks are put in place. Also, what worked was, as pointed in the root cause in the above here, when i set this Thanks @ycherniavskyi for your suggestion, it prodded me to investigate further. |
Hi guys, I am using plugin with wrapping SrcollView like on example below:
This works perfect on Android but does not work fine on iOS for some reason. Pull down refreshes the content (calls function on refresh), what is fine. During pulling down there is no animation displayed and after releasing it page bounces up for 100px (+- 30). Like it adds margin-top: -100 after refresh is done. Did anyone had this problem?
The text was updated successfully, but these errors were encountered: