Skip to content
This repository has been archived by the owner on Jan 3, 2024. It is now read-only.

Fix oc-text-input keydown events #745

Closed
kulmann opened this issue May 7, 2020 · 1 comment
Closed

Fix oc-text-input keydown events #745

kulmann opened this issue May 7, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@kulmann
Copy link
Member

kulmann commented May 7, 2020

When adding a @keydown event handler to the oc-text-input component, the handler gets fired multiple times.

Reproducible by creating an oc-text-input component, and adding a keydown.enter event, using the following handler:

onKeyDown() {
   console.log("test")
}

Observe, that each enter results in multiple events.

@kulmann kulmann added the bug Something isn't working label May 7, 2020
@kulmann
Copy link
Member Author

kulmann commented Jun 8, 2020

Fixed by @LukasHirt in #768

@kulmann kulmann closed this as completed Jun 8, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant