Modernize the dropdown implementation (`Ui/Dropdown/Simple`)
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 5/5
- Tiempo estimado
- Más de una semana
- Aptitud para principiantes
- 15/100
- Tipo de issue
- Refactorización
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- css, javascript
- Área
- frontend
Línea de trabajo
This is a design proposal, not a single task. Start with the existing Ui/Dropdown/Simple module and its dependencies named in the issue, Ui/Alignment and UiCloseOverlay, to see how the current dropdowns open, position and close. Done would mean agreeing on the target design (Popover API, anchor positioning, instance-based options, ARIA semantics) with maintainers, then splitting it into smaller issues. A newcomer would be better off picking one of those smaller pieces.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Rebuild dropdowns on native platform features and keep a compatibility layer for existing markup and API consumers.
- Popover API (popover="auto"): native top layer, light dismiss, Escape handling, and only one open popover at a time. This removes the global menu container, the z-index workarounds and most of the UiCloseOverlay integration.
- CSS anchor positioning (anchor-name, position-anchor, position-try-fallbacks): the browser handles placement and flipping. This replaces the scroll/resize/dialog-scroll recalculation and probably the iOS virtual-keyboard hack. Fall back to Ui/Alignment where it isn't supported.
- Instance-based implementation: one object per dropdown that owns its toggle, menu, options and callbacks. Typed options replace the data-* flags, which stay readable only for BC.
- Correct semantics by content type:
- Action menus use menu/menuitem on the interactive elements, with roving tabindex, Arrow/Home/End navigation, and Space and Enter working.
- Other content follows the disclosure pattern (aria-expanded + aria-controls) with normal tab order and no forced roles.
- Toggle markup: require toggles in new code and stop patching roles onto arbitrary elements.
- CSS fixes: overscroll-behavior: contain replaces the wheel handler, and scrollIntoView({ block: "nearest" }) replaces the manual scroll-to-active math.
- Lenguaje dominante
- PHP
- Estrellas
- 248
- Forks
- 147
- Merge medio
- 17 min
- PR fusionados (30 d)
- 21
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de WoltLab/WCF
-
Problems with button inputSuffixAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Breadcrumb colors are confusingAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 58/100
Los mantenedores suelen responder en 1 día
-
Dificultad 3/5 1-2 días Aptitud para principiantes 30/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 20/100
Los mantenedores suelen responder en 1 día
-
Dificultad 5/5 Más de una semana Aptitud para principiantes 25/100
WoltLab/WCF#6771 · 1 reacción ·
Los mantenedores suelen responder en 1 día
Todos los issues de WoltLab/WCF
Issues similares
-
bug: juros do parcelamento travados em 1x no gateway Rede Débito e Crédito 3DS (woo-rede 5.6.0)Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
LinkNacional/woo-rede#367 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Translation is missing for sw-app.component.sw-app-shop-id-change-modal.error.shop-id-change-failedAbiertoneeds-triage Platform(Default)
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Configuration consistency enhancement
Dificultad 2/5 Menos de una hora Aptitud para principiantes 72/100
novalo-dev/Prestashop-MCP-Server#405 ·
Los mantenedores suelen responder en 1 día
-
OpenRouter errors returned in a 200 body are thrown as a plain AiExceptionPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 80/100
Los mantenedores suelen responder en 2 días