Browser: Chrome 122.0.6261.112
OS: Windows
Video: Jam
I don’t know if this is a bug.
In the Jam video, I have added a submenu to the ‘About’ menu link in the top right. The submenu is given a small border radius for the whole submenu.
Additionally, I added the :hover pseudo-class modifier to the nav menu bricks block and changed the background color of the submenu item to have the individual submenu item’s background change to black. However, as can be seen on hover in the Jam video, the submenu item ignores the parent border radius.
Usually, in plain CSS, the li child in the ul nav menu element would not respect the ul border radius, but this can be handled with overflow: hidden
on the ul element. For example: Child Border Overflow hidden • REPL • Svelte
But if I try to add overflow: hidden
to the entire submenu using the bricks setting under styles > layout, that just permanently hides the submenu, so no menu appears on hover over the ‘About’ menu link.
I know this can be handled using manual CSS, but it’s sort of unexpected given how the pseudo-class modifier is used on the Nav Menu