Skip to content

event.getModifierState("CapsLock") always returns false in Svelte 4 & 5 #16275

@Neptunium1129

Description

@Neptunium1129

Describe the bug

CapsLock detection with event.getModifierState always false in Svelte 4/5

Reproduction

https://svelte.dev/playground/3f2168e8a0ec4e3083b5a18063559126?version=5.34.9

Logs

System Info

sorry npx bug..
- system : win10

Severity

blocking all usage of svelte

Metadata

Metadata

Assignees

No one assigned

    Labels

    awaiting submitterneeds a reproduction, or clarification

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions