sebnitu / vrembem

A CSS component library based on the BEM methodology.

Home Page:https://vrembem.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Use KeyboardEvent.key instead of the deprecated KeyboardEvent.keyCode

sebnitu opened this issue · comments

Problem

Currently using the now deprecated KeyboardEvent.keyCode in a few places where I should be using KeyboardEvent.key. This should be updated in both drawer and modal handlerKeyup() functions. Also we should be using the keydown event instead of the keyup event for reasons explained here.