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

[Bug] When using a layout with a Corner Radius it's not possible to remove the orange background from a Selected CollectionView Element #9282

Closed
PureWeen opened this issue Jan 22, 2020 · 1 comment · Fixed by #12823
Labels
a/collectionview e/3 🕒 3 in-progress This issue has an associated pull request that may resolve it! p/Android t/bug 🐛

Comments

@PureWeen
Copy link
Contributor

Description

On Android if you clip the top level layout at all so the cell peaks through then you will see Orange or whatever ColorActivatedHighlight is set to

Steps to Reproduce

  1. Run repro
  2. click on rows

Expected Behavior

I should have some cross platform mechanism to influence the background color of the Cell on Android without having to change the ColorActivatedHighlight value on Android

Actual Behavior

Any row I click on has orange peaking out and I have to make a platform change to resolve

Basic Information

  • Version with issue: 4.5 pre1

Screenshots

image

Reproduction Link

App15.zip

Workaround

set ColorActivatedHighlight on the native android platform

@PureWeen PureWeen added t/bug 🐛 p/Android a/collectionview s/unverified New report that has yet to be verified labels Jan 22, 2020
@PureWeen PureWeen changed the title [Bug] When using a layout with a Corner Radius it's not possible to remove the orange background from a Select CollectionView Element [Bug] When using a layout with a Corner Radius it's not possible to remove the orange background from a Selected CollectionView Element Jan 22, 2020
@samhouts samhouts added e/3 🕒 3 and removed s/unverified New report that has yet to be verified labels Jan 23, 2020
@blieven1
Copy link

Same issue happens in iOS

@samhouts samhouts added this to the 5.0.0 milestone Aug 13, 2020
@samhouts samhouts removed this from the 5.0.0 milestone Nov 2, 2020
hartez added a commit that referenced this issue Nov 12, 2020
@hartez hartez added the in-progress This issue has an associated pull request that may resolve it! label Nov 12, 2020
rmarinho pushed a commit that referenced this issue Dec 2, 2020
… of CollectionView (#12823) fixes #9282

* Handle selected background color updates after cell is added as child of CollectionView
Fixes #9282

* Fix formatting
pictos pushed a commit to pictos/Xamarin.Forms that referenced this issue Dec 30, 2020
… of CollectionView (xamarin#12823) fixes xamarin#9282

* Handle selected background color updates after cell is added as child of CollectionView
Fixes xamarin#9282

* Fix formatting
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/collectionview e/3 🕒 3 in-progress This issue has an associated pull request that may resolve it! p/Android t/bug 🐛
Projects
None yet
4 participants