p-tree node toggler button is shrunk until not visible if label starts to not fit the node #11039
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
Current behavior
When label of a p-tree node is long enough, the toggler button for the node is shrunk and eventually it is hidden. Pictures are from the documentation.
Expected behavior
I believe current behavior is not what anyone would expect to happen. The toggler button should not be shrunk.
Minimal reproduction of the problem with instructions
Make the label of the node, that has children, long enough to not fit the maximum width of the p-tree.
What is the motivation / use case for changing the behavior?
Without this change, every developer who faces this issue must add extra css to fix it. As I believe this behavior should not exist, it should not be necessary for me to add this extra css to my project.
My css to fix:
.p-tree { .p-tree-toggler { flex-shrink: 0; } }
PrimeNG version: 5.X
Browser: all
The text was updated successfully, but these errors were encountered: