Skip to content

Page hard reloads on save #6339

@Maskoe

Description

@Maskoe

Which project does this relate to?

Start

Describe the bug

When I save it often hard refreshes. This makes it basically impossible to style anything that requires scrolling.

You dont even have to have any changes. If you just press ctrl s, it will do the hard reload most of the time. Not 100% tho.

Your Example Website or App

https://tanstack.com/start/latest/docs/framework/react/quick-start#impatient

Steps to Reproduce the Bug or Issue

  1. Create a new project via npm create @tanstack/start@latest
  2. Run npm run dev
  3. Save

Expected behavior

Normal soft refresh without resetting the scroll position.

I dont even care about the flicker itself, it just cant scroll up away from where Im looking.

Screenshots or Videos

chrome_KNtRpZnTS4.mp4

Platform

  • Router / Start Version: Newest
  • OS: Tested on windows and linux
  • Browser: Tested on chrome and firefox
  • Bundler: Vite
  • Bundler Version: 7.3.1

Additional context

Tested on 2 machines. Tested in vscode and neovim. I updated npm and pnpm to the latest version. I deleted node_modules several times.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions