Skip to content

Expand/collapse on entire group cell, rather than just button #1888

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

Merged
merged 1 commit into from
Jul 4, 2022

Conversation

texodus
Copy link
Member

@texodus texodus commented Jul 4, 2022

Fixes #1873

Because the expand/collapse button is rendered via ::before pseudo element, we can't declare separate hover rules for it, and the click handler used JavaScript to only respond to events in the appropriate region. This PR simply removes the latter logic; click now works on the entire group cell, just like the expand/collapse highlight indicator.

@texodus texodus added bug Concrete, reproducible bugs and removed cla-present labels Jul 4, 2022
@texodus texodus merged commit e49dee2 into master Jul 4, 2022
@texodus texodus deleted the expand-collapse-highlight branch July 4, 2022 19:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Concrete, reproducible bugs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Datagrid tree collapse hover indicator triggers on cell hover, but click only fires from the button.
1 participant