Currently elementScrollIntoView won't work properly when the element's scrolling parent is in a shadow DOM. Needs to get the element's parent manually first like this element.parentElement.shadowRoot.querySelector('.scrollingParent'), then do the calculation and scrolling manually. Any plan to support this use case for elementScrollIntoView?
Currently
elementScrollIntoView
won't work properly when the element's scrolling parent is in a shadow DOM. Needs to get the element's parent manually first like thiselement.parentElement.shadowRoot.querySelector('.scrollingParent')
, then do the calculation and scrolling manually. Any plan to support this use case forelementScrollIntoView
?