Windows 10
1.7.x
Can scroll the result panel to see all events.
When I try to use the mouse wheel nothing happens.
Just make a simple subscription query and get some events to see the problem.
Currently the result panel has height: auto, you have to do the height calculation that the panel should have using javascript when the app is mounted or make the editor container have the height you want/possible and make the result panel have height: 100%.
Also experiencing this problem.
Me too!
No update on this issue? Then how did you guys use this for Subscription all this long? Any workaround?
Any workaround?
F5
For now, the only solution is install an extension to inject this css into localhost pages.
.graphiql-wrapper>div:first-child>div:first-child>div:nth-child(2) {
height: 100%;
}
.graphiql-wrapper>div:first-child>div:first-child>div:nth-child(2)>div:nth-child(2) {
height: 100%;
overflow-anchor: auto;
}
@iagobruno , I can recommend adding display: flex and flex-direction: column-reverse to that snippet, to inverse the direction. This way you'll always have the most recent data on top. Making it unnecessary to scroll:
display: flex;
flex-direction: column-reverse;
@smeijer I tested your recommendation but it causes a scrollbar bug when a new result is added (I have no idea why), but the overflow-anchor property will make the last added item always visible if you scroll to extreme bottom.
This is broken in GraphQL Playground HTML too. Any idea how to temporarily fix it there?
Anything new on this?
+1
+1
still a problem..
Why is the issue closed, still facing this issue
The scrolling issue is fixed in this version, however it is very possible that the GraphQL server you are using is using a different version of this library. I know that for instance Apollo maintains their own for which still has the bug.
The scrolling issue is fixed in this version, however it is very possible that the GraphQL server you are using is using a different version of this library. I know that for instance Apollo maintains their own for which still has the bug.
@beeman Yes, I am using Apollo maybe that's why the issue still persists in the playground version there.
Can you tell me where should I reach for to get this issue solved?
The apollo-server repo.
Most helpful comment
For now, the only solution is install an extension to inject this css into localhost pages.