Skip to content

Google Autofill bug #50

@hotgen

Description

@hotgen

Describe the bug
When I select one of the options in Google Autofill, an exception occurs:

keystrokes.umd.cjs:1 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at g._handleKeyPress (keystrokes.umd.cjs:1:9512)
    at eval (keystrokes.umd.cjs:1:8962)
    at HTMLDocument.e (keystrokes.umd.cjs:1:1273)
_handleKeyPress @ keystrokes.umd.cjs:1
eval @ keystrokes.umd.cjs:1
e @ keystrokes.umd.cjs:1

keystrokes.umd.cjs:1 Uncaught TypeError: Cannot read properties of undefined (reading 'toLowerCase')
    at g._handleKeyRelease (keystrokes.umd.cjs:1:10240)
    at eval (keystrokes.umd.cjs:1:9020)
    at HTMLDocument.e (keystrokes.umd.cjs:1:1523)

To Reproduce
Here is the Codesandbox. You should have some Autofill options for "username" input:
https://codesandbox.io/p/sandbox/vibrant-curran-5zvtfw

Expected behavior
No errors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions