Skip to content

Standardize events to use key instead of keyCode #326

Open
@diegonvs

Description

@diegonvs

What is your proposal?

Adds a utility for mapping keyCode values, because we're creating a lot of repeated mapping for it on our DXP.

Why would adopting this proposal be beneficial?

Facilitate the work when working with keydown events and avoid repetitions on our code.

What are the alternatives to this proposal?

  1. Left it as is? 🤔
  2. Adopt a dependency for it(frontend infra team will be sad with this 😢 😭)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions