Skip to content
This repository was archived by the owner on Jun 19, 2024. It is now read-only.

CarouselView fails on android when CarouselView starts as hidden #33

Open
kMaiSmith opened this issue Sep 25, 2017 · 1 comment
Open

Comments

@kMaiSmith
Copy link

When a carousel view starts as hidden a divide by zero exception is thrown regarding the following line since the view has no width or (presumably) position

int position = x / _itemSize.Width + positionOrigin;

@BioTurboNick
Copy link

Workaround: Set opacity to 0 and use LowerChild to send it to back.

ramonesteban78 added a commit to ramonesteban78/Xamarin.Forms.CarouselView that referenced this issue Feb 7, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants