We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents fa6cf92 + 6ece1f1 commit c1956f9Copy full SHA for c1956f9
roles/ui/files/FWO.UI/wwwroot/js/scrollIntoView.js
@@ -6,9 +6,11 @@ function scrollIntoRSBView(htmlObjId) {
6
obj.scrollIntoView({ behavior: "smooth", block: "center" });
7
// Expand row
8
let toggleLink = obj.previousElementSibling.querySelector("a");
9
- if (toggleLink) {
+ let ariaEpended = toggleLink.getAttribute("aria-expanded");
10
+ if (ariaEpended == 'false')
11
+ {
12
toggleLink.click();
- }
13
+ }
14
// Highlight the row
15
obj.style.transition = "background-color 500ms linear";
16
obj.style.backgroundColor = "#a4d7f5";
0 commit comments