element-hq / element-hq/compound

Menu hover can cause width change

Open
#331 0 comments 0 reactions 0 assignees View on GitHub
T-Defect
Dominant language
MDX
Stars
24
Forks
7
PR merge metrics
No merged PRs in 30d

Description

# Platform

Web

# Description

https://github.com/user-attachments/assets/45b02b59-e0c1-4584-8059-2792168d128c

MenuItem component accepts children which will be hidden when hovered to show the nav-hint instead, but the space is not reserved as it uses `display: none` which causes the width to shrink even though the comment on the styles claims to consider this case.

![image](https://github.com/user-attachments/assets/e33a505a-c8d7-4f76-889e-ddb08bdcfa31)

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.