Skip to content
This repository was archived by the owner on Aug 23, 2018. It is now read-only.
This repository was archived by the owner on Aug 23, 2018. It is now read-only.

No access to modifier states #9

@wehlutyk

Description

@wehlutyk

Problem

I have a project that uses Ctrl+Enter for control. Tracking this in pure Elm requires keeping track of which keys are up or down à la ohanhi/keyboard-extra. But this method is error-prone as it runs into the problem described here in #1: if Ctrl is down, and the browser is not focused at the moment Ctrl goes up, the tracked state in Elm is still "down" (ohanhi/keyboard-extra only tracks ups and downs, not window blurs).

I guess giving access to modifier states isn't hard, but as suggested in the Readme I'll leave potential solutions out of the report :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions