Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Entering text into Popup in TabbedPage causes gray overlay #1871

Closed
2 tasks done
llek-gei opened this issue May 9, 2024 · 4 comments
Closed
2 tasks done

[BUG] Entering text into Popup in TabbedPage causes gray overlay #1871

llek-gei opened this issue May 9, 2024 · 4 comments
Labels
area/views Issue/Discussion/PR that has to do with Views bug Something isn't working unverified

Comments

@llek-gei
Copy link

llek-gei commented May 9, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When you close the popup, there's a gray semi-transparent overlay that remains on the screen until you switch to a new tab/page.

image

Expected Behavior

Page should reset to its normal background after closing the popup.

image

Steps To Reproduce

  1. Run app from reproduction project.
  2. Press the "open popup" button.
  3. Type something into the Entry in the popup.
  4. Press "close popup".
  5. There should be an overlay still stuck on the page.

Link to public reproduction project repository

https://github.com/llek-gei/PopupBugRecreation

Environment

- .NET MAUI CommunityToolkit: 9.0.0
- OS: Windows 10 Build 10.0.19045
- .NET MAUI: 8.0.21

Anything else?

Only happens when you type something into the Entry (if the Entry was pre-populated with text and you erase some of it, the bug doesn't happen).

Only happens in a TabbedPage (setting the app's MainPage to a normal content page doesn't cause the same issue).

Only tested in Android, not sure what happens with other platforms.

@llek-gei llek-gei added bug Something isn't working unverified labels May 9, 2024
@cat0363
Copy link
Contributor

cat0363 commented May 10, 2024

The video is the verification result for Android API Level 33.

Android.Emulator.-.pixel_5_-_api_33_5554.2024-05-10.08-51-56.mp4

@MitchBomcanhao
Copy link

should the issue be visible in your video? it isn't - or I'm being completely blind to it.

@vhugogarcia vhugogarcia added the area/views Issue/Discussion/PR that has to do with Views label May 17, 2024
@cat0363
Copy link
Contributor

cat0363 commented May 20, 2024

When debugging, pressing the Tab key on the hardware keyboard displays an overlay, but this overlay is not an overlay added on the Popup side.

The steps to reproduce are as follows.

  1. Start the app.
  2. Press the Tab key on the hardware keyboard.
  3. Press the "Open popup" button.
  4. Type something into the Entry in the popup.
  5. Press the "Close popup" button.
Android.Emulator.-.pixel_5_-_api_33_5554.2024-05-20.17-29-14.mp4

An overlay will appear in step 2.
The overlay that appears when you press the Tab key does not cover the entire screen, so the title bar is not covered.
The overlay added by Popup is different from this overlay and covers the entire screen.

[Tab key]

[Popup]

If my guess is correct, this overlay should disappear if you press the Tab key again.
Therefore, I don't think it's a bug.

@llek-gei
Copy link
Author

Yep, Tab fixes it. I guess it's just a problem with the emulator? Thanks for the help anyways.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/views Issue/Discussion/PR that has to do with Views bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

4 participants