Tag macro causes multiple drop-down menus to open

75 views
Skip to first unread message

Jeff Vance

unread,
Feb 5, 2017, 1:01:33 AM2/5/17
to TiddlyWiki
I like using the tag macro to insert a tag pill in wiki text.  I've been using this a lot to generate tables of links where I would instead insert the tag pill to give the option to go either to that tiddler, or select something tagged by that tiddler.  However, I noticed a strange problem:  if there are multiple instances of the same tag pill being displayed, selecting one of them reveals the drop-down menu on *all* instances.  In some cases, it looks very ugly and confusing because the menus might overlap.  Anyone else every notice this?  Maybe it's a very rare scenario.  It would be much better if this was fixed so only the instance you select reveals the menu.

Jed Carty

unread,
Feb 5, 2017, 2:40:54 AM2/5/17
to TiddlyWiki
This comes up sometimes, unfortunately it doesn't have an easy solution. The state of the drop-down for the tags macro is made assuming that each tag will only be shown once in each tiddler, which for the normal tag field is correct. When you put tags in the tiddler body this isn't enforced and you get errors.

This has come up in the past and someone may have a solution I haven't seen, but unless you give each instance in a tiddler some unique id value I don't think it is possible.

Tobias Beer

unread,
Feb 5, 2017, 4:35:41 PM2/5/17
to TiddlyWiki
Hi Jeff,

There's been quite some lengthy back and forth on this, with proposed solutions and workarounds:

#2628 allows to specify state qualifier for tag popups

Best wishes,

Tobias.

Tobias Beer

unread,
Feb 5, 2017, 4:40:26 PM2/5/17
to tiddl...@googlegroups.com
Hi again,

To be precise regarding...
 
There's been quite some lengthy back and forth on this, with proposed solutions and workarounds:

#2628 allows to specify state qualifier for tag popups

The solution would be in the second example here:

http://2628.tiddlyspot.com

Best wishes,

Tobias.

Jeff Vance

unread,
Feb 5, 2017, 5:02:30 PM2/5/17
to TiddlyWiki
Hi Tobias:    Thank you!  I copied that 2nd solution and it is working perfectly.  I have this in a macro that I'm using all over the place and until now the multiple pop-ups have been annoying. I'm so glad to have this cleaned up now. 

Cheers,

Jeff
Reply all
Reply to author
Forward
0 new messages