-
Notifications
You must be signed in to change notification settings - Fork 27
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
[Wasm] Default selected items from ItemsRepeaterExtensions multiselection are unselectable on the first click #1194
Comments
@Kunal22shah I believe this is the same root issue that we were discussing with the itemsrepeater, I will link this as the blocker for that issue in the backlog |
Could be either the Toolkit's ItemsRepeaterExtensions which does not restore the initial/current selection when the collection is data-bound, either MVUX which pushes that initial selection with a delay (as |
@Xiaoy312 Is this on windows? |
@rajamatt I see there is a draft PR for this that is Windows-specific. This issue is also occurring on WASM no? |
@kazo0 Yes the Wasm problem is in toolkit, I didn't get the chance to finalize the Wasm changes yet |
@rajamatt whats the issue in toolkit? do we have a separate issue for that? We can split these issues if they are different problems |
@kazo0 Yeah both repos produce the same bug but for different reasons, On Windows in uno.extensions it's because we weren't setting the Let me know if I should create a separate issue |
Current behavior
Setup: ItemsRepeater with utu:ItemsRepeaterExtensions.SelectionMode="Multiple" with items selected by default.
Problem: Makes selected items that are selected by default when loading the page unselectable on the first click.
This sample is using a ListViewItem as the ItemsRepeater's ContentTemplate, but it also happens with other selection controls such as ToggleButton.
Here, the item "two" is selected by default when opening the app:
Minimal repro app: ItemsRepeaterSelection.zip
Expected behavior
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package (s):
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
The text was updated successfully, but these errors were encountered: