Windows
Windows copied to clipboard
Implicit animations don't work when used inside a ListView or GridView's item template.
Describe the bug
Implicit animations do not work when being used from inside a data template of a listview or gridview item.
Regression
No response
Reproducible in sample app?
- [ ] This bug can be reproduced in the sample app.
Steps to reproduce
1. Download this solution: https://1drv.ms/u/s!Ar4RhL72OhUDz5MbXWHxhSYT8Dc_VA?e=kLKDqk
2. Run the app
3. Press the button in the listview to toggle visibility of a textblock inside that listview item
4. Observe the text appears without any animation, even though the code clearly shows that there's supposed to be an implication show animation
Expected behavior
The implicit animation should work while inside the listview item.
Screenshots
No response
Windows Build Number
- [ ] Windows 10 1809 (Build 17763)
- [ ] Windows 10 1903 (Build 18362)
- [ ] Windows 10 1909 (Build 18363)
- [ ] Windows 10 2004 (Build 19041)
- [ ] Windows 10 20H2 (Build 19042)
- [ ] Windows 10 21H1 (Build 19043)
- [X] Windows 11 21H2 (Build 22000)
- [ ] Other (specify)
Other Windows Build number
No response
App minimum and target SDK version
- [ ] Windows 10, version 1809 (Build 17763)
- [ ] Windows 10, version 1903 (Build 18362)
- [ ] Windows 10, version 1909 (Build 18363)
- [X] Windows 10, version 2004 (Build 19041)
- [ ] Other (specify)
Other SDK version
No response
Visual Studio Version
2022
Visual Studio Build Number
17.6.5
Device form factor
Desktop
Nuget packages
See the solution provided in the repro steps.
Additional context
No response
Help us help you
Yes, I'd like to be assigned to work on this item.