xamarin/Xamarin.Forms
[Bug] Cannot able to restrict the horizontal bouncing in Xamarin.Forms.iOS
开放
#5,897 创建于 2019年4月12日
e/4 :clock4:help wantedinactivep/iOS 🍎partnert/bug :bug:up-for-grabs
仓库指标
- 星标
- (5,644 个星标)
- PR 合并指标
- (30 天内没有已合并 PR)
描述
Description
Hi Team We at Syncfusion develop data visualization controls for Xamarin and we have more than 90 controls spread across all platforms of Xamarin. Please refer the below link for a description about us. UserGuide: https://help.syncfusion.com/xamarin/sfdatagrid/overview FeatureTour: https://www.syncfusion.com/products/xamarin UserGuide:https://help.syncfusion.com/xamarin/sflistview/getting-started
Issue
- We having a custom view control which is derived for the Xamarin.Platform.iOS.ScrollViewRenderer on that we trying to restrict the horizontal bouncing in Xamarin.Forms.iOS
- But we weren't able to achieve the solution after initialized these properties also ScrollViewRenderer.Bounce = true; ScrollViewRenderer.AlwaysHorizontalBounce= false; ScrollViewRenderer.AlwaysVerticalBounce = true; ScrollViewRenderer.directionLockedEnable = true;
Steps to Reproduce
- Run the attached sample
- Just try to do bounce in horizontal
- I have set followed properties in the Renderer class in iOS platforms. ScrollViewRenderer.Bounce = true; ScrollViewRenderer.AlwaysHorizontalBounce= false; ScrollViewRenderer.AlwaysVerticalBounce = true; ScrollViewRenderer.directionLockedEnable = true;
- It will bounce in horizontall
Expected Behavior
Horizontal bouncing shouldn't to happen
Actual Behavior
Horizontal bouncing still happening after we restricted
Basic Information
- Version with issue: 3.6.0.293080
- Last known good version: None
- IDE: Visual Studio Mac
- Platform Target Frameworks:
- iOS: IPad Pro 10.5 inch version: 11.1
- Nuget Packages: 3.6.0.293080
- Affected Devices: All iOS device
Screenshots
