DioxusLabs / DioxusLabs/dioxus-components

AlertDialog is opened out of view on large webpages

Open
#181 4 comments 0 reactions 0 assignees View on GitHub
bug preview
Dominant language
Rust
Stars
343
Forks
82
PR merge metrics
No merged PRs in 30d

Description

# Steps to reproduce:

- Open [https://dioxuslabs.com/]
- Open the AlertDialog example directly or click on that card to open the detail page.
- Click `Show Alert Dialog`

# Found behaviour
On click the Alert Dialog appears outside the actual view window or scrolls the view (depending on browser)

# Expected behaviour
On click the Alert Dialog appear in the middle of the actual view window without changing any scroll position.

# Browsers
- Safari (on Mac): AlertDialog opens down out of view. You must scroll to get it (see image)
- Firefox (on Mac) Page scrolls to dialog. This is not a solution because the user looses his position of the view, which can be annoying.

Image

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.