reidgould / tiddlywiki-dropboard

A TiddlyWiki plugin for kanban like organization in the style of Trello using boards, lists, and cards.
Other
46 stars 11 forks source link

changing the height prevents display of board space #14

Open petedaws opened 3 years ago

petedaws commented 3 years ago

I'm seeing this behaviour when using dropboard 1.0.2 with TW 5.1.23.

This can be reproduced using an empty TW from https://tiddlywiki.com/

1) Download empty.html from https://tiddlywiki.com/ 2) Import $:/plugins/reidgould/dpbd and $:/plugins/reidgould/shortid 3) Create new board "New Board" 4) Create new list called "New List" in "New Board" 5) Create new tiddler called "New Tiddler" in "New List" 6) The board looks like this. newboard1 7) The height of the board is much larger than it needs to be. 8) Now set the height of the board to anything. 1vh, 10vh, 100vh, 1000vh 9) The board displays nothing newboard2

dbausch-rea commented 1 week ago

I fixed this by changing the second line of $:/plugins/reidgould/dpbd/templates/view/Board to:

<$set name="val-BoardHeight" value={{{[<currentBoardTiddler>get[dpbd-boardheight]]}}} emptyValue=<<val-BoardHeight-Default>> >

I.e. use the value attribute to set the variable instead of filter.