Skip to content

The element was not added to the document in time #10071

Open

Description

@jaidan22

Description

Error: The element was not added to the document in time
    at move (chrome-extension://hlepfoohegkhhmjieoechaddaejaokhf/assets/helpers/portal.js:6:10)

How to replicate the issue + URL

dotnet/efcore#12088

Extension version

26.9

Browser(s) used

Google Chrome

Token ⚠️

  • I set a token in the options page. I understand that some features require a token to work.

Activity

  1. fregante commented on Sep 11, 2026

    @fregante
    Member

    Thanks for opening this. I've been seeing this for a while. The error is "correct" and expected, but it should be fixed, refer to:

    // This is a requirement for `tool-tip`
    // https://github.com/refined-github/refined-github/pull/9668
    throw new Error('The element was not added to the document in time');

  2. fregante commented on Sep 30, 2026

    @fregante
    Member

    I looked into it and it's not clear why this is happening, it comes from status-subscription but I don't see any delays within the feature nor in the component. It fails even with requestAnimationFrame, but in the end the portal does work correctly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions