Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[Bug] Android: HorizontalTextAlignment="Center" on Entry causes Horizontal CollectionView to jump to first item on focus #14422

Open
benedict-odonovan opened this issue Jul 15, 2021 · 2 comments

Comments

@benedict-odonovan
Copy link

benedict-odonovan commented Jul 15, 2021

Description

Similar to #12568 . When an Entry with HorizontalTextAlignment="Center" is included as part of an ItemTemplate in a horizontal CollectionView and that entry is tapped/focused, the collectionview will automatically scroll to the first item in the CollectionView.

Steps to Reproduce

  1. Create a CollectionView with <LinearItemsLayout Orientation="Horizontal">
  2. Add <Entry HorizontalTextAlignment="Center"> to the ItemTemplate
  3. Scroll the CollectionView to the right and then tap on an Entry

Expected Behavior

Focus remains on Entry and CollectionView does not scroll.

Actual Behavior

CollectionView immediately scrolls to the first item

Basic Information

  • Version with issue: 5.0.0.2012
  • Platform Target Frameworks:
    • Android: 11.0 - API 30

Reproduction Link

Minimized Reproduction Project

@benedict-odonovan benedict-odonovan added s/unverified New report that has yet to be verified t/bug 🐛 labels Jul 15, 2021
@jsuarezruiz jsuarezruiz added this to New in Triage via automation Sep 3, 2021
@jsuarezruiz jsuarezruiz added this to Review Backlog in CollectionView via automation Sep 10, 2021
@jsuarezruiz jsuarezruiz moved this from New to Needs Estimate in Triage Sep 10, 2021
@jsuarezruiz jsuarezruiz removed the s/unverified New report that has yet to be verified label Sep 10, 2021
@QTech-Pete
Copy link

Any updates on this issue?

@jl-mobitech
Copy link

Any updates? Been almost 2 years.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
CollectionView
  
Review Backlog
Triage
  
Needs Estimate
Development

No branches or pull requests

4 participants