cefsharp / cefsharp/CefSharp

WPF - Html dropdown goes off screen when near bottom of page

Offen
#2,820 25 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
up-for-grabs wpf
Vorherrschende Sprache
C#
Sterne
10.3k
Forks
2.9k
Ø Merge
5 T. 22 Std.
Gemergte PRs (30 T.)
4

Beschreibung

- **What version of the product are you using?**
Myget, CefSharp.Wpf, 75.0.110-CI3174

- **What architecture x86 or x64?**
x64

- **On what operating system?**
Win10

- **Are you using `WinForms`, `WPF` or `OffScreen`?**
WPF

- **What steps will reproduce the problem?**
1. Clone https://github.com/Dumpen/CefSharp.MinimalExample
2. Set CefSharp.MinimalExample.Wpf and WebApplication1 as start up projects
3. Start it

- **What is the expected output? What do you see instead?**
The dropdown should be above the select input, but it is below

- **Please provide any additional information below.**
See image [here](https://i.ibb.co/pQZQ5th/ss.jpg). In a normal browser the dropdown is either above the select input or above the whole window if there is no space.

- **Does this problem also occur in the `CEF` Sample Application from http://opensource.spotify.com/cefbuilds/index.html?**
No, see https://i.ibb.co/nwC1nsN/ss2.jpg. I tested with cef_binary_75.0.11+gf50b3c2+chromium-75.0.3770.100_windows64_client.tar

Beitragsleitfaden

Beitragsleitfaden öffnen

Rechercherichtung

Die gemeldeten Einstiegspunkte sind CefSharp.MinimalExample.Wpf und WebApplication1; reproduziere dort das Dropdown nahe am unteren Rand der Seite und vergleiche es mit dem Verhalten des verlinkten CEF-Beispiels. Verfolge die WPF-spezifische Behandlung von Popups oder Dropdowns und überprüfe, dass das Dropdown eine Platzierung oberhalb des Fensters wählt, wenn der Platz darunter nicht ausreicht.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.