You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that sometimes we see empty files briefly when watching, which are then immediately updated with a non-empty file. The end result on the client is the same, except we end up scrolling to the top because the page is briefly empty in the interim. We should either debounce file watching in general, or specifically when the file is empty, to avoid re-evaluating the entire page and scrolling to the top. It’s okay if the reactive update is delayed by one–two hundred milliseconds.
The text was updated successfully, but these errors were encountered:
I’m seeing a lot of scroll-to-the-top behavior when editing a longer page (the new getting-started.md in #603). We should investigate what is happening here.
It appears that sometimes we see empty files briefly when watching, which are then immediately updated with a non-empty file. The end result on the client is the same, except we end up scrolling to the top because the page is briefly empty in the interim. We should either debounce file watching in general, or specifically when the file is empty, to avoid re-evaluating the entire page and scrolling to the top. It’s okay if the reactive update is delayed by one–two hundred milliseconds.
The text was updated successfully, but these errors were encountered: