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

TeachingTip is sometimes not displayed within the application windows when window is maximised and ShouldConstraintToRootBounds = False #9398

Open
harvinders opened this issue Mar 5, 2024 · 1 comment
Labels
area-Flyouts area-TeachingTip bug Something isn't working team-Controls Issue for the Controls team

Comments

@harvinders
Copy link

harvinders commented Mar 5, 2024

Describe the bug

ShouldConstraintToRootBounds = False allows us to display the teachingtip without cutting it off when the window size is small by displaying part of the teaching tip out of the bounds of the app window. However, sometime when the app window is maximised and there is enough room for the teaching tip to be displayed within the bounds of the app window, the teaching tip is partly moved out of the bounds of the app window, resulting in cutting off the teachingtip from the view.

Steps to reproduce the bug

  1. Build the project GitHub TeachingTipExperiment
  2. Maximise the application window
  3. Click the Button at the top right corner.

Expected behavior

The teaching tip should be displayed in full when ShouldConstraintToRootBounds = False and app window is maximised. Also, teaching tip should always be displayed without cutting off.

Screenshots

Normal Window (ShouldConstraintToRootBounds = False)

image

Maximised Window (ShouldConstraintToRootBounds = False)

image

Maximised Window (ShouldConstraintToRootBounds = True)

image

NuGet package version

WinUI 3 - Windows App SDK 1.5.0: 1.5.240227000

Windows version

Windows 10 (21H2): Build 19044

Additional context

No response

@harvinders harvinders added the bug Something isn't working label Mar 5, 2024
@microsoft-github-policy-service microsoft-github-policy-service bot added the needs-triage Issue needs to be triaged by the area owners label Mar 5, 2024
Copy link

github-actions bot commented Mar 5, 2024

Hi I'm an AI powered bot that finds similar issues based off the issue title.

Please view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one. Thank you!

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

@codendone codendone added area-TeachingTip area-Flyouts team-Controls Issue for the Controls team and removed needs-triage Issue needs to be triaged by the area owners labels Apr 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-Flyouts area-TeachingTip bug Something isn't working team-Controls Issue for the Controls team
Projects
None yet
Development

No branches or pull requests

2 participants