CommunityToolkit / CommunityToolkit/Windows
Implicit animations don't work when used inside a ListView or GridView's item template.
- Lenguaje dominante
- C#
- Estrellas
- 1.1k
- Forks
- 166
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
### 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
```text
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.
Guía de contribución
Línea de trabajo
Comienza descargando y ejecutando la solución enlazada en los pasos de reproducción; después, inspecciona la plantilla de elementos de ListView o GridView y el botón que alterna la visibilidad de TextBlock. Reproduce la animación implícita de aparición que falta y confirma la corrección observando la animación dentro de un elemento de la lista.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- csharp
- Área
- desktop, frontend
- Tipo de issue
- Error
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Estado de actividad
- Estancado
- Claridad
- Necesita aclaración
- Aptitud para principiantes
- 28/100