BrowserSync / browser-sync

Keep multiple browsers & devices in sync when building websites. https://browsersync.io
https://discord.gg/2d2xUThp
Apache License 2.0
12.19k stars 757 forks source link

Firefox page up(to the top) after save css file. #1457

Open claudiney opened 6 years ago

claudiney commented 6 years ago

Issue details

Firefox 57 page up(top) after refresh. Every time i save the css file, firefox refresh(blink) and page up to the top, losing focus of editing area. This only happens on Firefox. Edge and Chrome are ok. When editing html, firefox blink but doesn't move the page.

Steps to reproduce/test case

I'm using regular css and html only for testing.

Please specify which version of Browsersync, node and npm you're running

Affected platforms

Browsersync use-case

If CLI, please paste the entire command below

{cli command here}

for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync

gulp.task('server', function() {
    browser.init({
        injectChanges: true,
        server: {
            baseDir: "dist"
        },
        browser: "firefox",
        ui: false,
        notify: false,
        port: 5050
    });
shakyShane commented 6 years ago

Can you try browser-sync@2.24.7 and report if this is still a big for you :)