Semen Matusovskiy Well-Known Member Licensed User May 22, 2019 #1 Hi, guys -- Android limits offsetY according Panel.Height. But IOS allows to scroll more. During scroll movement OffsetY can be more than Scrollview.Panel.Height - ScrollView.Height) In some conditions (for example, "unlimited" list) similar feature is interesting. But if the list is limited, there is no reason to allow OffsetY > Panel.Height - ScrollView.Height I tried to process Scrollview_ScrollChanged events. Code: Copy If (OffsetY + scrollViewBody.Height) > scrollViewBody.Panel.Height Then scrollViewBody.ScrollTo (0, scrollViewBody.Panel.Height - scrollViewBody.Height, False) ContentHeight = Panel.Height. This works, but looks irrational. Probably there is a special property ?
Hi, guys -- Android limits offsetY according Panel.Height. But IOS allows to scroll more. During scroll movement OffsetY can be more than Scrollview.Panel.Height - ScrollView.Height) In some conditions (for example, "unlimited" list) similar feature is interesting. But if the list is limited, there is no reason to allow OffsetY > Panel.Height - ScrollView.Height I tried to process Scrollview_ScrollChanged events. Code: Copy If (OffsetY + scrollViewBody.Height) > scrollViewBody.Panel.Height Then scrollViewBody.ScrollTo (0, scrollViewBody.Panel.Height - scrollViewBody.Height, False) ContentHeight = Panel.Height. This works, but looks irrational. Probably there is a special property ?
Erel B4X founder Staff member Licensed User Longtime User May 22, 2019 #2 Semen Matusovskiy said: Probably there is a special property ? Click to expand... Yes. Code: Copy sv.Bounces = False Upvote 0
Semen Matusovskiy said: Probably there is a special property ? Click to expand... Yes. Code: Copy sv.Bounces = False