You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Short description
Setting the height of the main div to '100%'; or omit
What is current behavior
If you take the sidebar and grid example, the grid's height is set to a fixed value. If I set the main div to '100%', the grid vanishes.
What is desired behavior
The grid should adapt to a 100% div.
A possible workaround is to set the grid height with javascript:
window.onresize = onResize
function onResize() {
let h = window.innerHeight
h = h + "px"
main.style.height = h
}
onResize()
but that seems unnecessarily complicated to me.
If for some reason this is not a bug but a desired behaviour, it should be mentioned in the docs.
The text was updated successfully, but these errors were encountered:
Short description
Setting the height of the main div to '100%'; or omit
What is current behavior
If you take the sidebar and grid example, the grid's height is set to a fixed value. If I set the main div to '100%', the grid vanishes.
What is desired behavior
The grid should adapt to a 100% div.
A possible workaround is to set the grid height with javascript:
but that seems unnecessarily complicated to me.
If for some reason this is not a bug but a desired behaviour, it should be mentioned in the docs.
The text was updated successfully, but these errors were encountered: