keystatic icon indicating copy to clipboard operation
keystatic copied to clipboard

Avoid full-page refresh on save

Open jylin opened this issue 2 years ago • 4 comments

The entire page flashes after saving a document. Is it possible to avoid the flash/refresh?

jylin avatar Sep 16 '23 16:09 jylin

Hi @jylin, thanks for letting us know about this issue. I can only reproduce a full-page refresh when changing the key of an entry, which is used to populate the URL. We [re]fetch data based on that URL param so I'm not sure if much can be done in that situation.

If you're seeing this behaviour in another situation could you please provide more information? A screen recording is a quick and easy way to capture a bunch of info.

jossmac avatar Oct 06 '23 00:10 jossmac

I'm experiencing this issue when using Astro. Every time you save a document, the Keystatic page refreshes.

stephan281094 avatar Oct 28 '23 15:10 stephan281094

I think "full page refresh" may have been a red herring. #1064 should resolve the issue.

jossmac avatar Apr 10 '24 04:04 jossmac