Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox showing an overflow scrollbar when there is no overflow

  • 1 reply
  • 1 has this problem
  • 46 views
  • Last reply by Eivind

more options

Here is a fiddle showing the problem: https://jsfiddle.net/hefczx3a/12/

Even though all the elements are the same dimension with no margins/padding. Firefox displays scrollbars... On Chrome it is displayed as intended, covering the viewport without any scrollbars.

Is this is Firefox bug?

Chosen solution

Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?

Read this answer in context 👍 0

All Replies (1)

more options

Chosen Solution

Okey... changing the <canvas> element display property from 'inline' to 'block' solved the problem. But why?