-
Notifications
You must be signed in to change notification settings - Fork 1.9k
ToolBar click event for splitButton's menuButtons does not fire when the splitButton is in overflow #4542
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
Comments
Also reported in Ticket ID: 1426013 |
It works fine if the splitButton items have their own click handlers defined. I think a more accurate description would be:
Demo: https://dojo.telerik.com/@GaloisGirl/UYeBewEX |
Also reported in Ticket ID: 1463102 |
the problem is when it is for a mobile phone and the buttons overflow the menubuttons click does not work. |
Revisiting this today I noticed that per the documentation, the children don't have their own click handlers: https://docs.telerik.com/kendo-ui/api/javascript/ui/toolbar/configuration/items.menubuttons However, you can declare such handlers, and they work. I'd really prefer for them to have their own click handlers: if I'm using different buttons, it's for doing different things. |
@GaloisGirl @icesasoftcorp We have logged a Feature Request for adding official support for separate subitem click handler and you may vote for it. Currently it is possible to assign different values to different splitButton's menuButtons and check in the splitButton click handler which menuButton is the one clicked. This is shown on ToolBar Events demo. |
In the Toolbar events demo, the splitButtonClickHandler set for the SplitButton items is not thrown when in overflow. |
Bug report
The splitButton's own click event does not fire for its menuButtons, when the splitButton is displayed under the ToolBar's overflow button.
Reproduction of the problem
Current behavior
The splitButton click event does not fire.
NOTE: if the main button of the splitButton is clicked, the event is fired.
Expected/desired behavior
The splitButton click event fires regardless of the splitButton being in overflow or in main toolbar.
Environment
The text was updated successfully, but these errors were encountered: