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 double click to uncheck in multi-select menu #6027

Merged
merged 2 commits into from
Sep 20, 2024

Conversation

viown
Copy link
Member

@viown viown commented Sep 6, 2024

Selection panels have a "checkedInitial" class which is used to prevent an immediate check and uncheck when long pressing a card element. This class will still be there when clicking on 3 dots -> select, resulting in the user having to click twice to uncheck the initial element.

Changes
Add an argument to only add this class when long pressing.

Issues
Fixes #6025

@viown viown requested a review from a team as a code owner September 6, 2024 07:15
@prsantos-com
Copy link
Contributor

Confirmed the bug was present and tested the fix branch to verify that the changes fixed the bug. Deselecting the initial item now only requires one click as expected.

@thornbill thornbill added the bug Something isn't working label Sep 7, 2024
@thornbill thornbill added this to the v10.9.11 milestone Sep 7, 2024
@viown viown changed the base branch from release-10.9.z to master September 18, 2024 08:57
@thornbill thornbill modified the milestones: v10.9.11, v10.10.0 Sep 20, 2024
Copy link

@jellyfin-bot
Copy link
Collaborator

Cloudflare Pages deployment

Latest commit b5a252e1043737970a9d45475d70bbecfa947a1f
Status ✅ Deployed!
Preview URL https://ab9fed7d.jellyfin-web.pages.dev
Type 🔀 Preview

@thornbill thornbill merged commit 04dbfd3 into jellyfin:master Sep 20, 2024
12 checks passed
@viown viown deleted the fix-double-select branch October 11, 2024 01:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

When an item is selected via the overflow menu it requires two clicks to deselect it using the checkbox.
4 participants