Closed conor-cafferkey-sociomantic closed 7 years ago
scrollTo was previously broken when options were nested in sections as it would attempt to scroll the wrong element.
scrollTo
element.parentNode.parentNode
element.scrollParent
scrollParent
yeah... never liked .parentNode.parentNode
.parentNode.parentNode
scrollTo
was previously broken when options were nested in sections as it would attempt to scroll the wrong element.element.parentNode.parentNode
toelement.scrollParent
scrollParent
) to explicitly specify the parent element that should be scrolled