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

fix(ui5-list): fire itemClick after the selection #1618

Merged
merged 1 commit into from
May 15, 2020
Merged

Conversation

ilhan007
Copy link
Member

We used to fire the "itemClick" and "itemPress" before the selection finishes and if someone gets the "event.detail.item.selected" - it is will be the old one.
Now, they are fired after the selection finishes and provide the correct "item" state, although it is not common to listen for "itemClick" in selection modes, but rather for "selectionChange".

FIXES: #1615

@ilhan007 ilhan007 requested a review from vladitasev May 15, 2020 05:27
@ilhan007 ilhan007 merged commit 28326c5 into master May 15, 2020
@ilhan007 ilhan007 deleted the fix-list-click branch May 15, 2020 06:31
@ilhan007 ilhan007 added this to 1.0.0-rc.8 (released) in UI5 Web Components - Roadmap Aug 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ui5-list - onItemClick: item info is lagging one render cycle when not clicking checkbox
2 participants