Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: added waitforloader for the monaco editor #14464

Closed
wants to merge 1 commit into from

Conversation

lharries
Copy link
Contributor

@lharries lharries commented Feb 28, 2023

Added wait for loader to disappear

Hopefully prevents this happening everytime:
Screenshot feat(insights) rollout new refresh ux for everyone by yakkomajuri · Pull Request #14444 · PostHogposthog (Google Chrome) 2023-02-28 at 21 03@2x

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

worth a shot!

Shame #14422 isn't in yet and then we could wait on a specific selector

@lharries
Copy link
Contributor Author

I thought I had seen a PR like that, let's try this and can switch to Michael's method after

@Twixes
Copy link
Collaborator

Twixes commented Feb 28, 2023

Well, the solution I would suggest here is to use MonacoEditor's loading prop and set that to <Spinner/>, which is both sleeker and would work perfectly well with waitForLoadersToDisappear: true ;)

@Twixes
Copy link
Collaborator

Twixes commented Feb 28, 2023

I can handle that in #14422.

@lharries
Copy link
Contributor Author

Makes sense to me :) Will close this

@lharries lharries closed this Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants