Hi, Andreas I tried hacking a bit in popup.js to see if I can register it to something different but my js knowledge is limited, I don't know what to use. Right now it does
this.rootElement = options.rootElement || document.documentElement; on top of popup.js I think this must be where it can be changed what I'm looking for is an appropriate way for the core to handle it so that I could try making a pr thanks for your reply, Simon Am Mittwoch, 21. Februar 2018 13:26:38 UTC+1 schrieb Andreas Hahn: > > Hi Simon, > > unfortunately this is a shortcoming of the current PopupMechanism in > TiddlyWiki and will require changes to the core. The only way to open > and close the popup seems to be with a button. > > If you happen to know javascript you could in theory write a > plugin/widget to fix this by adding $tw.popup as an event listener to > the window root dom element. Alternatively I imagine this would be fixed > by having $tw.popup.show register the event listener on the ownerElement > or on all open windows. > > /Andreas > > -- 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/8f11d98a-8f0b-4f94-af49-09b6ff1346ee%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
