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

JS error thrown by Popover action click handler #7195

Closed
antonmironovv opened this issue Feb 6, 2023 · 1 comment
Closed

JS error thrown by Popover action click handler #7195

antonmironovv opened this issue Feb 6, 2023 · 1 comment
Assignees
Labels
Bug C: Popover FP: Completed Sync status with associated Feedback Item Next Release Item that will be included in the next official release S: Wrappers (ASP.NET Core) S: Wrappers (ASP.NET MVC) SEV: Medium
Milestone

Comments

@antonmironovv
Copy link

antonmironovv commented Feb 6, 2023

Bug report

Reproduction of the problem

Open this dojo example.

  1. Click the "This is a blog-post" div element
  2. A Popover will open.
  3. Click one of the action buttons.

Current behavior

An error is thrown: "a.click.call is not a function"

Expected/desired behavior

The click event handler should work out of the box.

Environment

  • Kendo UI version: 2023.1.117
  • Browser: [all]
@iordanGrancharov
Copy link

The Kendo jQuery Popover actions.click property expects a function reference ( function declaration or function expression ). The configuration in the Dojo example is incorrect which is the cause for the a.click.call error shown in the console. Here is a Dojo instance with a valid actions configuration where the error is absent.

The bug is reproducible in the Kendo MVC Wrappers.

@aleksandarevangelatov aleksandarevangelatov self-assigned this Nov 15, 2024
@Dimitar-Goshev Dimitar-Goshev self-assigned this Dec 11, 2024
@Dimitar-Goshev Dimitar-Goshev changed the title Click event of the Popover throws error JS error thrown by Popover action click handler Dec 11, 2024
@Dimitar-Goshev Dimitar-Goshev added this to the 2025 Q1 (Feb) milestone Dec 11, 2024
@github-actions github-actions bot added FP: Completed Sync status with associated Feedback Item and removed FP: Unplanned Sync status with associated Feedback Item labels Dec 11, 2024
@Dimitar-Goshev Dimitar-Goshev added the Next Release Item that will be included in the next official release label Dec 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug C: Popover FP: Completed Sync status with associated Feedback Item Next Release Item that will be included in the next official release S: Wrappers (ASP.NET Core) S: Wrappers (ASP.NET MVC) SEV: Medium
Projects
None yet
Development

No branches or pull requests

9 participants