How to disable the auto size of documentation explorer within the graphiql component #3400
Unanswered
younky-yang
asked this question in
General
Replies: 1 comment
-
so no one has encountered this issue? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I now used graphiql 3 in my project to allow our developers to play with the graphql api. As I found a very interesting stuff on the size of the component that rendered on my page.
By default I enabled the documentation explorer and with a schema just has a short list, but if I switch to an API which has a longer schema list, the documentation explorer expanded vertically and the whole graphiql component height was also enlarged unexpected.
My expected behavior is the initial size of graphiql should be keep the same if the parent window size doesn't change, then if the documentation explorer has more content to populate, it should not change the graphiql component size, but instead of showing the scrollbar for user to read the content.
How can I enable this behavior? I tried to change the style, but with my poor CSS skill, I failed.
Beta Was this translation helpful? Give feedback.
All reactions