editor is broken when used in create-react-app
See original GitHub issueI’m trying to embed the GraphiQL inside existing app. Whole thing looks styled correctly, but the query editor section itself is not responding at all: it’s gray, there’s no cursor, no content and it doesn’t react to input.
I’ve tried import 'graphiql/graphiql.css'
, tried using react-helmet
to put a style <link>
dynamically, manually doing stuff like document.head.insertBefore()
in wrapper’s componentDidMount()
- nothing works.
It does work, however, if I put CDN link to graphiql.css
directly to public/index.html
which seems like a hack right now
Issue Analytics
- State:
- Created 6 years ago
- Comments:10 (4 by maintainers)
Top Results From Across the Web
Create React App not working - Stack Overflow
In my case, "create-react-app" was not installed. to install run this command npm install -g create-react-app. Once installation successful ...
Read more >Troubleshooting - Create React App
Some editors like Vim and IntelliJ have a “safe write” feature that currently breaks the watcher. You will need to disable it.
Read more >create-react-app not working ⚠️ error solved - YouTube
In this video, we will solve the error in reactjs that We no longer support global installation of Create React App. ✔️ create...
Read more >Thinking in React
One of the many great parts of React is how it makes you think about apps as you build them. In this document,...
Read more >Using Bootstrap with React: Tutorial with examples
Create a more detailed React app with Bootstrap. How to troubleshoot Bootstrap not working in React. If you're just getting started with ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
no, in my case all the parents of the wrapper already had 100% height
Also, from #462 someone also had this issue until the parent div’s height was set to 100%:
Would this fix the issue?