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
DataTable: selectionMode=multiple with rowSelectMode=none still shows cursor pointer #9429
Labels
Milestone
Comments
FlipWarthog
added
‼️ needs-triage
Issue needs triaging
🐞 defect
Bug...Something isn't working
labels
Nov 21, 2022
looks like its this in the themes. body .ui-datatable .ui-datatable-data>tr.ui-datatable-selectable {
cursor: pointer;
} |
melloware
added
theme
Is this a theme specific issue
and removed
🐞 defect
Bug...Something isn't working
‼️ needs-triage
Issue needs triaging
labels
Nov 21, 2022
Actually its this line... .add(allowSelection, DataTable.SELECTABLE_ROW_CLASS) |
melloware
added
🐞 defect
Bug...Something isn't working
and removed
theme
Is this a theme specific issue
labels
Nov 21, 2022
melloware
added a commit
to melloware/primefaces
that referenced
this issue
Nov 21, 2022
Workaround: body .ui-datatable .ui-datatable-data > tr.ui-datatable-selectable {
cursor: auto;
} |
Because |
melloware
added a commit
to melloware/primefaces
that referenced
this issue
Nov 22, 2022
melloware
added a commit
that referenced
this issue
Nov 23, 2022
Workaround works like a charm, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
Describe the bug
DataTable Checkbox selection with
rowSelectMode="none"
still sets thecursor: pointer
style on hover of the entire row, despite only being able to select via the Checkbox.Reproducer
This issue can be reproduced running the showcase locally. Modify the Checkbox example in the
ui/data/datatable/selection.xhtml
showcase page and setrowSelectMode="none"
. Run the showcase and hover the rows in that example.Expected behavior
If a row cannot be selected by clicking on the row itself, the cursor should remain as the arrow rather than changing to a pointer.
PrimeFaces edition
Community
PrimeFaces version
13.0.0
Theme
All
JSF implementation
All
JSF version
2.3
Java version
11
Browser(s)
All
The text was updated successfully, but these errors were encountered: