Skip to content

Sometimes there is no document.activeElement , will take an error #159

Open
@finscn

Description

@finscn

if (document.activeElement.type !== 'text' &&

Sometimes , the _keydownHandler is invoked , but there is no document.activeElement.
Then

image

It's a bug , I think.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions