question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Query results disappear after a second or so

See original GitHub issue

This issue pertains to the following package(s):

  • GraphQL Playground - Electron App
  • GraphQL Playground HTML
  • GraphQL Playground
  • GraphQL Playground Express Middleware
  • GraphQL Playground Hapi Middleware
  • GraphQL Playground Koa Middleware
  • GraphQL Playground Lambda Middleware

What OS and OS version are you experiencing the issue(s) on?

macOS Mojave 10.14.2

What version of graphql-playground(-electron/-middleware) are you experiencing the issue(s) on?

Middleware. I’m using the “As HTML Page” method form the README to embed the playground inside an existing server.

What is the expected behavior?

When running a query, results should be displayed on the right pane

What is the actual behavior?

Results are displayed but they disappear after a second or so (making the playground unusable). Looking in the network logs, it looks like a schema introspection query is made every few seconds, which wasn’t the case previously

What steps may we take to reproduce the behavior?

Follow the “As HTML Page” instructions from the readme, and try running any query.

As a workaround, I temporarily changed the middleware script URL to use version 1.7.11: //cdn.jsdelivr.net/npm/graphql-playground-react@1.7.11/build/static/js/middleware.js

That fixed the issue for me.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10

github_iconTop GitHub Comments

4reactions
BjornFridalcommented, Oct 14, 2019

Happened to me as well, but turning polling off (Settings -> schema.enablePolling) fixed it.

1reaction
huv1kcommented, Jan 29, 2019

I think it has something to do with new schema pooling feature. I was able to reproduce that, but only when there is returned an error.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Query results disappear after a second or so #940 - GitHub
Middleware. I'm using the "As HTML Page" method form the README to embed the playground inside an existing server. What is the expected...
Read more >
Some results disappear after GROUP BY - sql - Stack Overflow
You can use a window function instead: SELECT ed.* FROM (SELECT e.emp_id, e.first_name, e.last_name, d.name, COUNT(*) OVER (PARTITION BY ...
Read more >
Why do my query contents disappear ? - Microsoft Community
When I open them in design view I see that there is no longer anything inside them. Looking at the SQL view also...
Read more >
With particular searches (not all) most of the search results ...
When searching on www.google.com, the search results disappear after one second for some searches. E.g., "the selfish gene" when All is selected. If...
Read more >
How to Fix Google Search Results Change or Disappear After ...
To fix Google search results that disappear after a second, you need to remove unwanted Chrome extensions. Alternatively, you can scan your PC ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found