You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 25, 2020. It is now read-only.
When I use a selector like the following for gallery items I observe the following issue:
Sometimes selected item gets highlighted (as it should) and immediately after that the highlighting is gone. It usually happens with the first item in the gallery.
I guess the issue is caused by improper handling of selected state for gallery items.
I had a look in the code and I think the error is in the EcoGallery.updateSelectedItemMetadata method. The gallery should not unfocus the old child if the old and the new children are the same. I.e. instead of
if (oldSelectedChild != null)
the condition should be
if (oldSelectedChild != null && oldSelectedChild != mSelectedChild)
Could you please verify mu guess?
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I use a selector like the following for gallery items I observe the following issue:
Sometimes selected item gets highlighted (as it should) and immediately after that the highlighting is gone. It usually happens with the first item in the gallery.
I guess the issue is caused by improper handling of selected state for gallery items.
I had a look in the code and I think the error is in the EcoGallery.updateSelectedItemMetadata method. The gallery should not unfocus the old child if the old and the new children are the same. I.e. instead of
the condition should be
Could you please verify mu guess?
The text was updated successfully, but these errors were encountered: