appandflow / appandflow/trailhead

Scroll trail results to the top whenever filters change

Abierto
#26 0 comentarios 0 reacciones 0 asignados Ver en GitHub
enhancement
Lenguaje dominante
TypeScript
Estrellas
0
Forks
0
Merge medio
23 min
PR fusionados (30 d)
7

Descripción

## Problem

When the user changes the selected regions or switches the **Name / Distance / Rating** filter, the trail results update but keep the previous scroll position. This can leave the user partway down a newly filtered or reordered list, requiring a manual scroll back to the top.

## Expected behavior

Reset the trail results list to the top every time either the region selection or the **Name / Distance / Rating** selection changes.

## Acceptance criteria

- Selecting or deselecting a region returns the results list to the top.
- Switching between Name, Distance, and Rating returns the results list to the top.
- The behavior works from any existing scroll position.
- The top item shown belongs to the newly filtered or reordered results.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.