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

SplitButton: RowSelect of TreeTable is triggered #10157

Closed
fanste opened this issue May 22, 2023 · 1 comment · Fixed by #10159
Closed

SplitButton: RowSelect of TreeTable is triggered #10157

fanste opened this issue May 22, 2023 · 1 comment · Fixed by #10159
Assignees
Labels
🐞 defect Bug...Something isn't working
Milestone

Comments

@fanste
Copy link
Contributor

fanste commented May 22, 2023

Describe the bug

SplitButtonRenderer#encodeMenuIcon has hardcoded style classes for the menu icon which is missing ui-c.

I did not find any reference on why this marker style class was introduced, but it seems to be used by the tree table to exclude span elements from triggering the row selection feature.

Maybe use HTML.BUTTON_LEFT_ICON_CLASS?

Reproducer

No response

Expected behavior

No response

PrimeFaces edition

Community

PrimeFaces version

master

Theme

No response

JSF implementation

Mojarra

JSF version

2.2

Java version

8

Browser(s)

No response

@fanste fanste added ‼️ needs-triage Issue needs triaging 🐞 defect Bug...Something isn't working labels May 22, 2023
melloware added a commit to melloware/primefaces that referenced this issue May 22, 2023
@melloware melloware removed the ‼️ needs-triage Issue needs triaging label May 22, 2023
@melloware melloware added this to the 13.0.0 milestone May 22, 2023
@melloware melloware self-assigned this May 22, 2023
@melloware
Copy link
Member

Yep agreed!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 defect Bug...Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants