-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Closed
Labels
BugC: ChatFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: LowjQuery
Milestone
Description
Bug report
When the Chat is located inside a <form> tag, clicking one of the scroll buttons of an attachments list will submit the form.
This is mostly noticed in RadChat for ASP.NET AJAX.
In AJAX this is solved with the code below but might not be the best solution in Kendo UI Chat.
https://github.com/telerik/kendo/blob/master/src/chat/view.js#L249
_scrollButtonClick: function (e) {
// prevent form submission when Kendo UI Chat is inside a <form>
e.originalEvent.preventDefault()
Reproduction of the problem
- Open https://dojo.telerik.com/@sspasova/ItamIWus
- Click the left or right arrow button in the Chat
Current behavior
The form is submitted.
Expected/desired behavior
The form is not submitted and the list is scrolled.
Environment
- Kendo UI version: 2023.3.1114
- Browser: [all
Metadata
Metadata
Assignees
Labels
BugC: ChatFP: CompletedSync status with associated Feedback ItemSync status with associated Feedback ItemSEV: LowjQuery