Skip to content

InAppNotification Display gets corrupted when pushing messages with different methods in queue/stack #3391

@michael-hawker

Description

@michael-hawker

Describe the bug

If you use different show methods with the InAppNotification when using the StackMode of QueueBehind or StackInFront then the component display can get corrupted and show multiple close buttons or things out of place.

  • Is this bug a regression in the toolkit? If so, what toolkit version did you last see it work:

Steps to Reproduce

Steps to reproduce the behavior:

  1. Go to the InAppNotification sample in the Toolkit app
  2. Set the StackMode to QueueBehind or StackInFront
  3. Click on a variety of the buttons to show different types of messages
  4. Close different ones (for instance clicking 'Show notification with buttons (without DataTemplate)' and 'show notification with buttons (with DataTemplate)' in either order show different versions of this problem

Expected behavior

Message should show the same way it does if it was the only one sent.

Screenshots

image

image

Environment

NuGet Package(s): 

Package Version(s): 

Windows 10 Build Number:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [x] May 2020 Update (19041)
- [ ] Insider Build (build number: )

App min and target version:
- [ ] Fall Creators Update (16299)
- [ ] April 2018 Update (17134)
- [ ] October 2018 Update (17763)
- [ ] May 2019 Update (18362)
- [ ] Insider Build (xxxxx)

Device form factor:
- [x] Desktop
- [ ] Xbox
- [ ] Surface Hub
- [ ] IoT

Visual Studio 
- [ ] 2017 (version: )
- [ ] 2019 (version: ) 
- [ ] 2019 Preview (version: )

Additional context

Add any other context about the problem here.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions