Skip to content
View vasnakos's full-sized avatar

Organizations

@customedialabs

Block or report vasnakos

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.

Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. Markdown is supported. This note will only be visible to you.
Report abuse

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

Report abuse

Pinned Loading

  1. pr-pulse pr-pulse Public

    PR Pulse — a developer-focused desktop widget for GitHub pull request activity.

    TypeScript 1

  2. This function is designed to address... This function is designed to address issues with event handling in React 16 when using a Shadow DOM. React 16's synthetic event system does not work well with Shadow DOM due to limitations in how events are retargeted. This function "retargets" events that occur within a shadow DOM, making them compatible with React's synthetic event system by ensuring that event.target correctly points to the original triggering element, even across shadow boundaries.
    1
    /**
    2
     * Retargets DOM events within a Shadow DOM to ensure they are correctly recognized
    3
     * by React 16's synthetic event system. This is necessary because React 16 does not
    4
     * natively handle events from within a Shadow DOM, leading to issues with event propagation
    5
     * and target recognition.