Xamarin.Forms
Xamarin.Forms copied to clipboard
Android: CarouselView + Centered Entry jumps to first CarouselView Page
Description
If I use a Entry with centered text in a carousel view on android it will jump back to the first page on focus. I cannot enter anything.
Steps to Reproduce
- Make a CarouselView with multiple pages
- Place an entry inside and center its content with HorizontalTextAlignment="Center"
- Run on android (device or simulator)
- Tap on entry on any page but the first
Or check out and run my test repo: https://github.com/GW-FUB/CarouselEntryTest
Expected Behavior
Entry lets me input something
Actual Behavior
CarouselView jumps to the first page. But if I swipe to the second page (if I was tapping on the third page entry) it will jump to the third one again.
Basic Information
- Version with issue: XF 4.8.0
- Last known good version: Haven't tested with older versions
- IDE: Visual Studio
- Platform Target Frameworks:
- iOS: 14.0
- Android: 10
- Affected Devices: Google Pixel 3, VS Android Simulator
Screenshots

Reproduction Link
https://github.com/GW-FUB/CarouselEntryTest
Workaround
Not yet, but not centering the text.
I have the same problem how can I solve it?
@AliKarimiENT I'm just not centering the entry at the moment. Found no other possibility so far :-(
Me too. I hope it fixes as soon as possible
Same here.
Is This ever going to be fixed? I'm having the same issue.
Any solution?
I am facing the same issue and haven't found a workaround so far...
Is there any solution, any fix yet?
I tried to reproduce the problem with other elements as well. So far, I could only observe this happening with entry fields. The Carousel-Position jumps back to 0 every time the Entry field (in other positions) is focused.
Appreciate the help.
Any updates? Still experiencing this.
Same problem in MAUI
This is very much still an issue. As soon as an Entry that has HorizontalTextAlignment set to anything else than Start the CarouselView jumps back to the first position.