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

Hovering nested elements with ToolTipService.ToolTip display multiple overlapping tooltips at once #15792

Closed
Suriman opened this issue Mar 7, 2024 · 2 comments · Fixed by #16731
Assignees
Labels
area/popups 💬 Categorizes an issue or PR as relevant to popups or flyouts area/porting 🖨️ Categorizes an issue or PR as relevant for porting of WinUI code area/tooltip 💬 difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working

Comments

@Suriman
Copy link

Suriman commented Mar 7, 2024

Current behavior

In WASM, when hovering the TabViewItem tab, the ToolTip from the close button overlaps the tab one. This causes the two tooltips to be shown, and this is incorrect.

Expected behavior

When hovering the close button from the TabViewItem, only his ToolTip must be shown.

How to reproduce it (as minimally and precisely as possible)

edit: see comment below for a simpler repro

TabViewItemToolTipOverlaps.zip

  1. Open the attached solution and compile it.
  2. Execute it WASM head.
  3. Hover the TabViewItem's close button.
  4. Compare with WinUI so you can see the difference.

Workaround

No known workaround.

Works on UWP/WinUI

Yes

Environment

Uno.WinUI / Uno.WinUI.WebAssembly / Uno.WinUI.Skia

NuGet package version(s)

Uno.WinUI 5.1.80

Affected platforms

WebAssembly

IDE

Visual Studio 2022

IDE version

17.9.2

Relevant plugins

No response

Anything else we need to know?

No response

@Suriman Suriman added difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. kind/bug Something isn't working triage/untriaged Indicates an issue requires triaging or verification labels Mar 7, 2024
@jeromelaban
Copy link
Member

@Suriman could you try attaching the sample again? Use drag and drop to do so.

@MartinZikmund MartinZikmund changed the title When doing hover over a TabViewItem in WASM, the ToolTip from the close button overlaps the Tab ToolTip. When doing hover over a TabViewItem in WASM, the ToolTip from the close button overlaps the Tab ToolTip. Apr 12, 2024
@MartinZikmund MartinZikmund added difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI area/popups 💬 Categorizes an issue or PR as relevant to popups or flyouts area/porting 🖨️ Categorizes an issue or PR as relevant for porting of WinUI code and removed triage/untriaged Indicates an issue requires triaging or verification difficulty/tbd Categorizes an issue for which the difficulty level needs to be defined. labels Apr 12, 2024
@Xiaoy312 Xiaoy312 self-assigned this May 13, 2024
@Xiaoy312
Copy link
Contributor

Simpler repro: // https://playground.platform.uno/#7fb8285c

<Border ToolTipService.ToolTip="QweQweQweQweQweQwe" Margin="5" Background="SkyBlue">
	<Border ToolTipService.ToolTip="AsdAsdAsd" Margin="5" Background="Pink">
		<Border ToolTipService.ToolTip="Zxc" Margin="5" Background="SkyBlue" />
	</Border>
</Border>

result:
image

@Xiaoy312 Xiaoy312 changed the title When doing hover over a TabViewItem in WASM, the ToolTip from the close button overlaps the Tab ToolTip. Hovering nested elements with ToolTipService.ToolTip display multiple overlapping tooltips at once May 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/popups 💬 Categorizes an issue or PR as relevant to popups or flyouts area/porting 🖨️ Categorizes an issue or PR as relevant for porting of WinUI code area/tooltip 💬 difficulty/medium 🤔 Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants