Tooltip closes immediatly when shown on controls with control templates with negative margin
- Dominant language
- C#
- Stars
- 7.7k
- Forks
- 1.3k
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 61
Description
* .NET Core Version: SDK: 6.0.300 Runtime 6.0.5
* Windows version: 10.0.19044
* Does the bug reproduce also in WPF for .NET Framework 4.8?: No
**Problem description:**
when you define a control template for a control with a negative margin to have a control that is exceeding its parent the tooltip is not shown correctly in the margin area.
in the following example, the control itself is colored in Aqua and the negative margin in blue to visualize the areas. the dummy project is also attached for testing purpose
behavior with 4.8:

behavior with net6.0:

DummyProject:
[DisappearingTooltipWithNegativeMargin.zip](https://github.com/dotnet/wpf/files/8956776/DisappearingTooltipWithNegativeMargin.zip)
Contributor guide
Assessment
This issue has not been assessed yet.