question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] Popup doesn't respect the LayoutOptions

See original GitHub issue

Description

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

  1. Open our sample app;
  2. Tap on flyout > Tap Views
  3. Tap on Custom Positioning Popup cell
  4. Tap on the bottom arrows and left and right arrows
  5. 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:open
  • Created a year ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
pictoscommented, May 9, 2022

@tutkus I’ll find some time to take a look at it tomorrow. Thank you for that❣️

0reactions
tutkuscommented, May 9, 2022

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found