[Bug] Popup doesn't respect the LayoutOptions
See original GitHub issueDescription
When you try to set a custom position, at the bottom, to present the popup, on Windows, it doesn’t respect your desire even if everything on debugging indicates that values are configured correctly.
Stack Trace
Link to Reproduction Sample
Our sample app in the page PopupPositionPage
.
Steps to Reproduce
- Open our sample app;
- Tap on flyout > Tap Views
- Tap on
Custom Positioning Popup
cell - Tap on the
bottom
arrows andleft
andright
arrows - See that popup doesn’t render correctly
Expected Behavior
Popup respects the LayoutOptions
set by the user.
Actual Behavior
Popup doesn’t respect the LayoutOptions
set by the user.
Basic Information
- Version with issue: la
- Last known good version:
- IDE: VS 2022 windows preview
- Platform Target Frameworks:
- Windows:
Workaround
None
Reproduction imagery
At the video below pay attention at the Window output
on VS as well, you will see that properties have the correctly value.
https://user-images.githubusercontent.com/20712372/163910329-59414f1d-2dfc-45fc-bd7e-f16818649e55.mp4
Issue Analytics
- State:
- Created a year ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Pop-up menu on Windows FileMaker bug selecting item on ...
I've noticed a bug or perhaps a really poor UI design for the Pop-Up List Menu ... a the menu glitched out--, or...
Read more >EditorGUILayout.Popup - Scripting API
An optional list of layout options that specify extra layout properties. Any values passed in here will override settings defined by the style...
Read more >Keyboard mappings with `setxkbmap` on Linux not working
I've never encountered this bug in another project on linux, it just isn't hard to respect key mappings in a vanilla gnome environment......
Read more >Much too large space between label and field. How to fix?
Hi, I have a custom editor script that needs to show more than one control in a row, so it has to use...
Read more >"Cycle Through Multiple Monitor" broken for triple...
I have a triple monitor setup (two external 1080p monitors connected to laptop with 1080p display). Before the upgrade I was able to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tutkus I’ll find some time to take a look at it tomorrow. Thank you for that❣️
Hi @pictos ,
The fix which I did, works. I push it here: https://github.com/tutkus/MauiCommunityToolkit/blob/370/src/CommunityToolkit.Maui.Core/Views/Popup/MauiPopup.windows.cs
If it used to work before the marge than it might be the issue is in MAUI itself. Nevertheless pls check my commit and if you are ok then I can create a PR.