Hi Matabele, > Would it not be preferable to automatically generate a unique state > reference by default each time the widget is used? > Is it necessary to refresh the widget after each keystroke? >
Currently, the refreshing is watching for any attributes changes, which should not be problematic though. However, a little investigation has me believe this bit of code <https://github.com/tobibeer/tw5-appear/blob/master/src/appear.js#L257-L262> is the culprit: // Any children changed? if(!this.handle && this.refreshChildren(changedTiddlers)) { // Refresh the appear widget => needed for lack of core support for absolute popups *this.refreshSelf();* return true; } The problem is, that I need to force-recreate the button because it would otherwise lose the hacky click handler I throw onto it ... so as to make absolute positioning work. For now, I think I will need to skip "remote handlers" so long as PR 2128 <https://github.com/Jermolene/TiddlyWiki5/pull/2128> is not merged and available with the next release. Best wishes, Tobias. -- You received this message because you are subscribed to the Google Groups "TiddlyWikiDev" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywikidev. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywikidev/7d3ac4f4-31d9-411c-b47b-d567c65ff040%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
