#111617
Oleg Ilin
Participant

Dear friends.
The request is cancelled. I found a very compact technique (it will work for any framework), which removes all handlers when pressing the category expansion button, except for the native smart web component. As stated in the request, third-party frameworks and environment programs can use their own handlers for button presses, mouse behavior, etc. Smart web components are configured to work with DOM and use aria technology and internal variables in DOM.
The given technique removes all handlers (in particular on the button), leaving only the native handler.
(JQuery was used, but any listener will do)

……

function disableTabindexButtons() {
var buttons =                              document.querySelectorAll(‘smart-grid-row’)
buttons.forEach(function(note) {
var note1 =                   note.querySelector(“button”)
note1.setAttribute(“type”,”button”);
});
}

$(document).ready(function() {
$(document).mouseup(function (e) {
var t=                           e.target.getAttribute(“tabindex”)
if (t==”-1″){
e.preventDefault(); // if it needs you can find smart-grid-sell-container in the parent
e.stopPropagation();
disableTabindexButtons() }
})
})

Thanks