10
olback
8y

So today when I was testing my new website I learned that IE/Edge does not support smooth scrolling with JavaScript.

I get why it doesn't work in IE but Edge... like what? Edge is supposed to be a modern browser... No?

Comments
  • 1
    They should stop with that browser, why do they think they could be better while they should know by now that nobody likes it
  • 7
    Well...
  • 1
    It's kinda like fancy packaging in the supermarket. Same shit under the wrapper.

    Although, to be be fair, it is pretty lean. Cause there's like no extensions​ lol
  • 0
    Which scrolling functionality? window.scroll({behavior: smooth}) doesn't work in chrome, too.I can only confirm it working in firefox...
  • 0
    @sirjofri Yes, that. It work in chrome and ff for me, but not on mobile.
  • 0
    Define modern browser lol!
  • 0
    @olback i wrote a workaround. It uses this smooth scroll functionality if possible. On other browsers it uses the (older?) window.scrollTo(left, top). Interested? I can share it...
  • 0
    @sirjofri The scrolling part works in all browsers, it's just not smooth in all of them. It's fine.
Add Comment