Y
Hacker News
new
|
ask
|
show
|
jobs
by
butz
538 days ago
Add "display:block;" to canvas to fix the issue with vertical scroll appearing. Also, you might want to consider looking into vh and vw units to fill canvas to viewport without using javascript.
2 comments
skykooler
538 days ago
Is there a reason to avoid using javascript for canvas layout considering you need javascript to draw on the canvas in the first place?
link
zebproj
538 days ago
Thanks, I'll look into it
link