Files
bridget/assets/ts
Spedon 8d48e6347e fix keyboard input (#356)
* fix: enhance accessibility with `tabIndex`

- Add `tabIndex="-1"` to the navigation item for accessibility

* refactor: refactor event handling with SolidJS effects

- Import `createEffect` from 'solid-js'
- Add an `AbortController` for managing event listeners
- Use `createEffect` to conditionally add and remove keydown event listener based on component state
- Remove `onKeyDown` and `tabIndex` attributes from the overlay div
2024-07-06 14:36:50 +00:00
..
2024-07-06 14:36:50 +00:00
2024-02-22 01:18:29 +08:00
2024-02-22 01:18:29 +08:00
2024-02-22 01:18:29 +08:00