xamarin/Xamarin.Forms
[Bug] Cannot able to restrict the horizontal bouncing in Xamarin.Forms.iOS
Aperta
#5897 aperta il 12 apr 2019
e/4 :clock4:help wantedinactivep/iOS 🍎partnert/bug :bug:up-for-grabs
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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
