The theme, defines
--z-dropdown: 50 and --z-modal: 200 in 01-theme.css ,
but the tooltip pseudo-elements in tooltip.css uses a hardcoded value, defined as z-index: 1000.
This is resultant of inconsistency with the design system and could potentially be cause layering issues (tooltips always above modals),
although the strict check via showModal() , which is overriding all the possible z-index values, happens to be in place.
it could be more of, using var(--z-tooltip) for making it configurable and consistent, with the codebase.
The theme, defines
--z-dropdown: 50and--z-modal: 200in01-theme.css,but the tooltip pseudo-elements in
tooltip.cssuses a hardcoded value, defined asz-index: 1000.This is resultant of inconsistency with the design system and could potentially be cause layering issues (tooltips always above modals),
although the strict check via
showModal(), which is overriding all the possible z-index values, happens to be in place.it could be more of, using var(--z-tooltip) for making it configurable and consistent, with the codebase.