Dir 'rtl' not working in vertical orientation
- Lenguaje dominante
- TypeScript
- Estrellas
- 25k
- Forks
- 6.8k
- Merge medio
- 1 d 8 h
- PR fusionados (30 d)
- 91
Descripción
### Is this a regression?
- [ ] Yes, this behavior used to work in the previous version
### The previous version in which this bug was not present was
_No response_
### Description
I'm using `cdk-virtual-scroll-viewport` and I'm changing dynamically by binding its `dir` property from `ltr` to `rtl`, to obtain a bottom to top scoller. I can see the change in the html, but visually it has no effect.
### Reproduction
Steps to reproduce:
1. cdk-virtual-scroll-viewport with vertical orientation and rtl dir
2.
### Expected Behavior
Vertical scroller, oriented from bottom to top
### Actual Behavior
Vertical scroller, oriented from top to bottom, no change vs. vertical orientation and ltr dir.
### Environment
- Angular: 12.0.4
- CDK/Material: 12.0.4
- Browser(s): Chrome Version 97.0.4692.71 (Official Build) (64-bit)
- Operating System (e.g. Windows, macOS, Ubuntu): Windows 10 64-bit
Guía de contribución
Línea de trabajo
Start by reproducing the issue with cdk-virtual-scroll-viewport in vertical orientation, binding its dir property from ltr to rtl. Trace how the viewport handles direction changes and verify the expected bottom-to-top visual orientation; the issue is done when the dynamic change takes effect instead of remaining top-to-bottom.
Escrito por el modelo de indexación a partir del texto del issue.
Evaluación
- Stack tecnológico
- angular, typescript
- Área
- frontend
- Tipo de issue
- Error
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Estado de actividad
- Estancado
- Claridad
- Bastante claro
- Aptitud para principiantes
- 45/100