Hi!
The Components preview is reloading on each letter typed while we are renaming it.
Thanks!
Hi!
The Components preview is reloading on each letter typed while we are renaming it.
Thanks!
Hi @kory,
Just to let you know, this is still happening in Beta 3 while renaming any of the document types.
In addition, when I hit Enter or when I click away, my change is immediately reverted to the old name.
@Misho, this is (mostly) working as expected. The Settings controls found in any document will intrinsically trigger a refresh after users are “done” editing them because they contain information tied to the preview but might also be speaking to the backend and need to be synced up (this isn’t like editing Element styles, which are all done live in real-time). We have improved this in the latest release though by adding a “debounce” to these fields, which means that the refresh won’t fire on every keystroke in these inputs; instead, it waits until about 300ms after a key is entered to fire. If another key is pressed within that 300ms timeframe, the timer is reset to 0ms and starts counting again. This more or less ensures that the refresh in the preview only happens once after you’re done naming a Document. Of course, if you type slowly, this will trigger multiple times.
I can confirm that editing the title of the Component in the Workspace Header is not maintaining its update after hitting enter, though. I have noted this and it will be fixed.
Thanks!