You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
When IndicatorView is set with HorizontalOptions Center or CenterAndExpand it shrinks or hides.
This issue was not there in earlier versions Xamarin iOS. This doesnt happen for Android.
Steps to Reproduce
Create a CarouselView and IndicatorView
Link IndicatorView to CarouselView
Set HorizontalOptions to Center for IndicatorView
Run on iOS Simulator with OS 14.0
Run on iOS Simulator with OS <14.0
Expected Behavior
IndicatorView should not shrink
Actual Behavior
IndicatorView shrinks horizontally for HorizontalOptions Center and CenterAndExpand.
Basic Information
Version with issue: 14.0
Last known good version: Xamarin.iOS < 14.0
IDE: Visual Studio Windows and Visual Studio for Mac
Setting HorizontalOptions to Fill or FillAndExpand or dont set at all
The text was updated successfully, but these errors were encountered:
pmahend1
changed the title
[Bug] IndicatorView shrinks on Xamarin iOS when HorizontalOptions Center and CenterAndExpand issue
[Bug] IndicatorView shrinks on iOS 14 for HorizontalOptions Center and CenterAndExpand issue
Sep 30, 2020
pmahend1
changed the title
[Bug] IndicatorView shrinks on iOS 14 for HorizontalOptions Center and CenterAndExpand issue
[Bug] IndicatorView shrinks on iOS 14 for HorizontalOptions Center and CenterAndExpand
Sep 30, 2020
My indicator views disappeared completely after updating to iOS 14.
The workaround above works, but only if
The indicator view is not inside a horizontal stack layout.
The indicator view is not inside a grid where the column width is set to auto.
The only way I was able to display the indicator view in iOS 14 was by placing it in a vertical stack layout, or by hard-coding a column width if it's inside a grid.
Also, vertical options center on the indicator view no longer centers the indicator view on iOS 14, one has to use FillAndExpand.
Description
When IndicatorView is set with HorizontalOptions Center or CenterAndExpand it shrinks or hides.
This issue was not there in earlier versions Xamarin iOS. This doesnt happen for Android.
Steps to Reproduce
CarouselView
andIndicatorView
IndicatorView
toCarouselView
HorizontalOptions
toCenter
forIndicatorView
Expected Behavior
IndicatorView should not shrink
Actual Behavior
IndicatorView shrinks horizontally for HorizontalOptions Center and CenterAndExpand.
Basic Information
Screenshots
Reproduction Link
IndicatorViewIssue.zip
Workaround
Setting HorizontalOptions to Fill or FillAndExpand or dont set at all
The text was updated successfully, but these errors were encountered: