If we have a separate frame/form to render input only once, debounce behavior works really nicely.
But if we want to have input and other things stay in one frame, interval debounce would trigger render and make input losing focus mid-typing.
Yeah, each rendering gets separate elements. Instead of having frame(grid(input, markdown)), you can do grid(input, frame(markdown)), so that you only re-render the content that changes.
If we have a separate frame/form to render input only once, debounce behavior works really nicely. But if we want to have input and other things stay in one frame, interval debounce would trigger render and make input losing focus mid-typing.
Untitled notebook
Section