Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Learn More

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Firefox showing an overflow scrollbar when there is no overflow

  • 1 antwoord
  • 1 heeft dit probleem
  • 257 weergaven
  • Laatste antwoord van 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?

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?

Gekozen oplossing

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

Dit antwoord in context lezen 👍 0

Alle antwoorden (1)

more options

Gekozen oplossing

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