Xamarin.Forms.Chips icon indicating copy to clipboard operation
Xamarin.Forms.Chips copied to clipboard

Not possible to select chip on label

Open TomVHRebel opened this issue 3 years ago • 4 comments

Is there any way to click behind the label? If I click on the label the text gets clicked instead of the chip behind it.

TomVHRebel avatar May 03 '21 10:05 TomVHRebel

I ran into this issue too, where I had to click behind the label to fire off the Command.

I added the following to Chip.xaml:L71 to get around it.

<Label.GestureRecognizers>
   <TapGestureRecognizer Tapped="Clicked" />
</Label.GestureRecognizers>

I'm not sure if it breaks anything else (doesn't seem to), or how @Tommigun1980 wants to handle it.

thewoodknight avatar May 31 '21 08:05 thewoodknight

I come to this issue as well, your solution seems perfectly working @thewoodknight

I made a pull request with this change

Jerome2606 avatar Jun 03 '21 09:06 Jerome2606

Why i use latest version this bug still occur?.

NguyenKhue09 avatar Oct 19 '21 18:10 NguyenKhue09

Thanks @thewoodknight. Your solution helped me today.

jetiSumadinac avatar Jan 09 '23 17:01 jetiSumadinac