Vanishing Cells in JupyterLab Notebooks

I am encountering the problem of vanishing cells with Jupyter Lab Version 4.3.5 Notebook that is rendered on Brave Browser. Every time a code cell encounters error, all the previous cells would then simply not render on the screen. I believe the “vanished cells” are still there. However, they are just not rendering (i.e. appearing). Below is a screenshot of the issue.

I have to save the file, close the file and then reopen the file so that all the vanished cell can reappear. This issue is making jupyter lab notebook to be useless. It is not practical to always have to close the file and reopen the file to view all the cells.

Is there a solution to this problem?