fix(input): Enter also clicks the element that focus moved to

Abierto
#399 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@zidad ya está trabajando en esto.

Desde el 29/10/2026.

  • #408 de @zidad — abierto

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bien especificado
Estado de actividad
Estancado
Stack tecnológico
csharp
Área
cli

Línea de trabajo

Trace Enter key handling from the input entry point and find where the focused element receives keydown and the active element is clicked afterward. Reproduce the described A-to-B focus change and identify the relevant tests. Done means Enter activates only the element that received the key, including when its keydown handler moves focus.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

  • Enter dispatches keydown to the focused element, then activates whatever is focused afterwards
  • When the keydown handler moves focus (e.g. a list navigating to a page whose button takes focus), the new element is clicked by the same Enter
  • Repro: element A with onkeydown that focuses B; B has onclick; press Enter on A, B's onclick runs
  • Expected: Enter activates only the element that received it
Lenguaje dominante
C#
Estrellas
1.7k
Forks
51
Merge medio
2 d 11 h
PR fusionados (30 d)
32

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de RazorConsole/RazorConsole

Todos los issues de RazorConsole/RazorConsole

Issues similares

Más issues de C#

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.