support svg-container classes as interactable svg elements (#1042)
This commit is contained in:
@@ -448,6 +448,11 @@ function isInteractable(element) {
|
|||||||
if (hasAngularClickBinding(element)) {
|
if (hasAngularClickBinding(element)) {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
// https://www.oxygenxml.com/dita/1.3/specs/langRef/technicalContent/svg-container.html
|
||||||
|
// svg-container is usually used for clickable elements that wrap SVGs
|
||||||
|
if (element.className.toString().includes("svg-container")) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// support listbox and options underneath it
|
// support listbox and options underneath it
|
||||||
|
|||||||
Reference in New Issue
Block a user