Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frame inside CollectionView unable to be selected in Android #8805

Closed
MissedSte4k opened this issue Jul 18, 2022 · 2 comments
Closed

Frame inside CollectionView unable to be selected in Android #8805

MissedSte4k opened this issue Jul 18, 2022 · 2 comments
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 t/bug Something isn't working

Comments

@MissedSte4k
Copy link

Description

I created a sample app, that adds image of a dog/cat in one of four grid spaces based on random chance every n seconds. If the image is on the left - the top item in template is Grid, if it's on the right - it's . I use DataTemplateSelector to achieve that. There are problems with sizeing, but I created different issue for that. There is also a problem about VisualStateManager Selected, I use different targets (Grid and Frame in this case), grid works, Frame does not:

Android.Emulator.-.pixel_5_-_api_30_5554.2022-07-18.12-00-53.mp4

In windows - both Frame and Grid inside CollectionView are capable of being selected. The sizeing is messed up, but that's different issue.

2022-07-18.11-56-27.mp4

Steps to Reproduce

  1. Extract this sample project
    TestImages.zip
  2. Launch it on Android and try to select items in CollectionView

Expected results:
you manage to select any item
Actual results:
be unable to selected items inside Frame

  1. Launch an app on Windows

Expected results:
Same UI as in Android and you can not selected Framed items (like in android)
Actual Results:
you can selected framed items
(Images in ItemTemplate are displayed without any resizeing but that's another issue)

Version with bug

6.0.400

Last version that worked well

Unknown/Other

Affected platforms

Android

Affected platform versions

Android 11

Did you find any workaround?

No response

Relevant log output

No response

@MissedSte4k MissedSte4k added s/needs-verification Indicates that this issue needs initial verification before further triage will happen t/bug Something isn't working labels Jul 18, 2022
@Eilon Eilon added the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label Jul 18, 2022
@rmarinho rmarinho added area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 and removed s/needs-verification Indicates that this issue needs initial verification before further triage will happen labels Jul 18, 2022
@MissedSte4k
Copy link
Author

This also extends to SearchHandlers not beeing able to be selected

	<Shell.SearchHandler>
		<handlers:FooSearchHandler Placeholder="Enter search term"
										ShowsResults="true"
										DisplayMemberName="Name">
			<handlers:FooSearchHandler.ItemTemplate>
				<DataTemplate>
					<Frame>
						<Label Text="{Binding}"/>
					</Frame>
				</DataTemplate>
			</handlers:WatchlistSearchHandler.ItemTemplate>
		</handlers:WatchlistSearchHandler>
	</Shell.SearchHandler>

This also does not work and OnItemSelected() is not getting triggered

@samhouts
Copy link
Member

Duplicate of #7121

@samhouts samhouts marked this as a duplicate of #7121 Aug 31, 2022
@samhouts samhouts closed this as not planned Won't fix, can't repro, duplicate, stale Aug 31, 2022
@ghost ghost locked as resolved and limited conversation to collaborators Sep 30, 2022
@Eilon Eilon removed the legacy-area-controls Label, Button, CheckBox, Slider, Stepper, Switch, Picker, Entry, Editor label May 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-controls-collectionview CollectionView, CarouselView, IndicatorView platform/android 🤖 t/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants