Suggestion: Element.scrollParent
Returns the closest element which controls the position of current element via a scroll.
This feature is useful in many cases, easy for browsers to implement and hard for plugins such as jQueryUI to get it right.
Link to relevant spec: https://www.quirksmode.org/dom/w3c_cssom.html#t33
Link to current workaround by jQueryUI: https://api.jqueryui.com/scrollParent
Thanks
Suggestion: Element.scrollParent
Returns the closest element which controls the position of current element via a scroll.
This feature is useful in many cases, easy for browsers to implement and hard for plugins such as jQueryUI to get it right.
Link to relevant spec: https://www.quirksmode.org/dom/w3c_cssom.html#t33
Link to current workaround by jQueryUI: https://api.jqueryui.com/scrollParent
Thanks