we discovered two issues with the current version of California (2.0.1). One with the TabMenu and the other with the RowEdit functionality.
Used Theme: California-Noir
Primefaces version: 7.0
TabMenu:
When using a tabmenu with multiple menu entries it is possible that a line break occurs to display all menu elements which is fine. The problem is that the menu elements in the second line "jump around" when hovering over the entries in the first line. The second line is not correctly aligned to the beginning of the menu too.
To reproduce use the California Demo and navigate to Components -> Menu (https://www.primefaces.org/california/menu.xhtml), scroll down to the TabMenu and resize your browser window so that the line break occurs. Our TabMenus contain more elements which is why we can observe this issue more frequently.
We discovered that this behaviour is due to the border not being set correctly on menu items that are neither hovered nor active. To fix this you need to add a default border to TabMenu items (line 268 on _menu.scss).
In addition to this it would also be nice if the active menu item could get a different background color than the non-active items (e.g slightly darker or lighter).
Rowedit:
We added the rowedit functionality to the datatables in our application and discovered that clicking on the pencil leads to Primefaces marking the table row as "ui-state-highlight" which in turn leads to California setting the background-color of the row to the same as the rowedit buttons. The check and cancel button are now invisible and can only be seen if the user is hovering over them. This leads to a bad user experience.
This can also be fixed quite easily by adjusting the _data.scss and lightening the background-color of highlighted table rows.
Sadly there is no example for rowediting in the Demo, maybe this could also be added.
To conclude:
- Please fix the TabMenu
- Use a different background-color for selected TabMenu elements
- Fix the Rowedit or table coloring
- Maybe add the Rowedit feature to the demo