| A tag renders without its content |
Check the component filename, the page's component folder and the diagnostic from kscript check. |
| An input keeps its old value |
Declare its binding in the block's state. A dotted binding needs an existing map field. Check whether its on: option is waiting for a change, blur, or action. |
| A repeated block updates the wrong row |
Use a stable live ID per instance and a stable live-key for reordered siblings. |
| A live request expires |
The registered route, session or visible action may have changed. Refresh the page. Set a stable KSCRIPT_SECRET if sessions must survive server restarts. |
| A portal has no visible content |
Check that the selector matches an HTML container outside any live block. The template stays inert while the destination is missing. |
| Stream output arrives only at the end |
Start the action inside a live block, keep the target visible, and ensure intermediaries can forward chunks without buffering the whole response. |
| A streamed preview disappears after success |
The normal final fragment is authoritative. Render the final content from state or use @skip_render() to keep the streamed output. |
| A navigation opens a new browser document |
Check that the link is opted in and stays on the same origin. Destination policies and certain document features, such as <base>, require a native visit. |
| A custom directive appears to run twice |
A changed attribute value or replaced element remounts the directive. Use its abort signal or returned cleanup to release listeners. Keep app-wide registrations in a script that runs once. |