Component
NavigationMenu
Describe the bug
When opening the dropdown menu, the dropdown panel does not align
with (or anchor to) the trigger button that opens it. The panel
appears offset/detached from the trigger instead of being
positioned directly below (or relative to) it, causing a visual
mismatch between the menu item and its opened content.
Reproduction
- Render a navbar with multiple menu triggers (e.g. หน้าแรก,
มีอดีต, โน้ตบุ๊ค, แท็บเล็ต, พีซี, ชิ้นส่วน) using the dropdown
component
- Click/hover on one of the trigger buttons (e.g. "ชิ้นส่วน") to
open its dropdown menu
- Observe that the dropdown panel is not aligned with the trigger
button it belongs to
Expected: the dropdown panel should be positioned relative to
(e.g. directly below) the trigger element that opened it.
Actual: the dropdown panel appears misaligned/offset from the
trigger.
sv5ui version
2.7.0
Area
Not sure
Checklist
Component
NavigationMenu
Describe the bug
When opening the dropdown menu, the dropdown panel does not align
with (or anchor to) the trigger button that opens it. The panel
appears offset/detached from the trigger instead of being
positioned directly below (or relative to) it, causing a visual
mismatch between the menu item and its opened content.
Reproduction
มีอดีต, โน้ตบุ๊ค, แท็บเล็ต, พีซี, ชิ้นส่วน) using the dropdown
component
open its dropdown menu
button it belongs to
Expected: the dropdown panel should be positioned relative to
(e.g. directly below) the trigger element that opened it.
Actual: the dropdown panel appears misaligned/offset from the
trigger.
sv5ui version
2.7.0
Area
Not sure
Checklist