TiddlyWiki5
TiddlyWiki5 copied to clipboard
[BUG] innerwiki scales contents to zero size
Describe the bug
when rendering, innerwiki assumes the tiddler it is in is visible and uses the clientWidth attribute of the dom element to calculate scale. However, when using the zoomin view, this isn't true and clientWidth is therefore 0 which means the contents are scaled to 0
Expected behavior
No response
To Reproduce
- Go to https://clientwidth.tiddlyhost.com/
- Click on hello.js in the open tiddlers sidebar
- Edit hello.js, add a space somewhere
- Go to the 'Demo' tiddler (open)
- See that nothing is rendered. If you edit and cancel it'll be rendered as expected.
Screenshots
No response
TiddlyWiki Configuration
- 5.3.5
- tiddlyhost
- innerwiki
Desktop (please complete the following information):
- Ubuntu
- Chrome
- latest
Additional context
No response