[graphiql] Keep open the graphiql Explorer open when the page load #3028
Replies: 2 comments 1 reply
-
This prop comes from the source package and doesn't do what it says on the tin in the context of GraphiQL. Have a look at the |
Beta Was this translation helpful? Give feedback.
0 replies
-
@jonathanawesome sorry for the noobie question, but I'm also looking for this and it doesn't seem to be as easy/clearly documented as you would expect. I've also created a question on StackOverflow about this: https://stackoverflow.com/questions/75791142/how-to-show-graphiql-explorer-by-default |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an existing issue for this?
Current Behavior
I cant keep the graphiql explorer open from the first time, the left side bar it show always collapse. Im using the
explorerIsOpen: true
on theuseExplorerPlugin({ explorerIsOpen: true, query, onEdit: setQuery })
. If i set this property to true or false when the page load the first time explorer is collapse. When you click on the Graphiql explorer icon it will expand. If the explorerIsOpen is set to false non content will shown.Expected Behavior
I want that the graphiql explorer remain open/visible from the first load. How can i do that?
Steps To Reproduce
Module pattern
Environment
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions