NO BUG: Cursor in the dropdown when adding an icon

Browser: Chrome 117
OS: Windows

Hi bricks team,

if we add an icon element in the dropdown, the problem is that the cursor in the icon is not a pointer. Because in the dropdown element, the pointer is applied to the brx-submenu-toggle class and therefore, when we add an icon, it does not include the icon.

If you agree, it’s better to remove cursor:pointer from brx-submenu-toggle and add it to brxe-dropdown class. This makes it so that if we add an icon, the cursor in the icon will also be a pointer.

Hi @jolia,

Where is the icon being added exactly? If you’re referring to the dropdown icon, as it’s within the brx-submenu-toggle then the cursor should also be set to pointer when hovered over it. Or are you referring to something else maybe?

Hi @charaf,

I have added the icon here :

Ah I see, I thought you were referring to the icon included in the dropdown itself.

In your case, you can simply just make sure that the entire dropdown is a cursor under Style > Layout > Cursor. I don’t think this really qualifies as a bug as it’s just a custom implementation that requires an extra step to get your desired end-goal.

Yes, with your solution this can be solved. But maybe solving it by default is a better option.

Anyway, thank you