Replies: 2 comments
-
Ok, I solved this issue by changing the
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Tell me if that would work for you or not, having the same problem, I solved it this way:
The key, for me, was to kill the auto height: 100% from mapbox by setting it to inherit. |
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 want my Map component to use 100% height instead of providing a fixed value such as screen height or specific pixel number.
This is my code for now:
And this is what it looks like in full screen:
There is a small white gap at the bottom of the screen due to the height issue.
If I make the screen smaller, due to the change size of the header the white gap will be bigger:
Or, 2 scroll bars will appears:
I've checked the issue 604, but it's not helping because it was using
ReactMapGL
component instead ofMap
component.Beta Was this translation helpful? Give feedback.
All reactions