DioxusLabs / DioxusLabs/dioxus-components
Dioxus context menu viewport bug off the screen
Open
bug
primitives
- Dominant language
- Rust
- Stars
- 343
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
**Problem**
My Dioxus context menu (dx components add context_menu) is always displayed at the bottom-right, and it goes off the screen.
**Steps To Reproduce**
Steps to reproduce the behavior:
- Edit the css.
-
-
**Expected behavior**
I would like the menu to appear adaptively based on the cursor position so it stays within the viewport.
**Screenshots**
**Environment:**
- Dioxus version: 0.7.1
- Rust version: rustc 1.90.0 (1159e78c4 2025-09-14)
- OS info: windows 11 (25H2 26200.7309)
- App platform: desktop
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.