Vyhľadajte odpoveď

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 odpoveď
  • 1 má tento problém
  • 74 zobrazení
  • Posledná odpoveď od 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?

Vybrané riešenie

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

Čítať túto odpoveď v kontexte 👍 0

Všetky odpovede (1)

more options

Vybrané riešenie

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