Skip to content
View twxia's full-sized avatar
👨‍💻
👨‍💻

Block or report twxia

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. Get Scrollable Parent Get Scrollable Parent
    1
    function getScrollParent(node) {
    2
      const isElement = node instanceof HTMLElement;
    3
      const overflowY = isElement && window.getComputedStyle(node).overflowY;
    4
      const isScrollable = overflowY !== 'visible' && overflowY !== 'hidden';
    5