Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DropDownList keyboard events bubble although already handled #6802

Open
nelito987 opened this issue Apr 21, 2022 · 1 comment
Open

DropDownList keyboard events bubble although already handled #6802

nelito987 opened this issue Apr 21, 2022 · 1 comment

Comments

@nelito987
Copy link
Contributor

nelito987 commented Apr 21, 2022

Bug report

DropDownList keydown event propagation is not stopped.
More information can be found in ticket - 1560718

Reproduction of the problem

  1. go to the following Dojo - https://dojo.telerik.com/@sspasova/iVulISUL
  2. trigger a KeyDown event

Current behavior

A KeyDown event is triggered (and handled) by the widget, its propagation is not stopped.

Expected behavior

The event should not bubble up

Environment

  • Kendo UI version: 2024.1.130
  • jQuery version: 3.4.1
  • Browser: [all]
@nelito987 nelito987 changed the title DropDownList and MultiSelect keyboard events bubble although already handled DropDownList keyboard events bubble although already handled Apr 21, 2022
@narkiss-ibex
Copy link

narkiss-ibex commented Feb 6, 2023

I have the same problem while using the filter in DropDownList.
I've investigated DropDownList.js, and managed to stop propagation from the input field (filter field) on the handlekeydown function as follows:

    handleKeyDown: function handleKeyDown(event) {
      event.stopPropagation();
      var _a = this.$props,
      ...
    }

I might investigate further and perhaps come up with a PR for Kendo-UI, unless they will fix this issue (hopefully, because this is one annoying issue).

edit: I was manually editing the deployed code inside node_modules under @progress/kendo-vue-dropdowns/dist/es/DropDownList.js. Not sure how to get to the source code to suggest a fix :/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants