V5.4.0 prerelease - Zoomin Story View - Close All triggers RSOD

I noticed that “close all” in my updated wiki causes a JavaScript error: TypeError: can't access property 'style', element is null, even with content present in $:/config/EmptyStoryMessage. It can be replicated with these actions in an empty 5.4.0:

Change the story view to “zoomin”
Click “close all” in the sidebar’s “Open” tab
Change the palette
Click “close all” again

The crash looks to be in code which was added in this PR:

I’m able to duplicate the issue at this share site url with zoomin view preconfigured

Click the share site link and then close the only open tiddler (or click close all). The javascript error is the result.

Thank you, this should now be resolved.

1 Like

See: Fixes a bug in zoomin storyview by saqimtiaz · Pull Request #9686 · TiddlyWiki/TiddlyWiki5 · GitHub