Thank you Saq! Really useful tips. I will go through and will share the results.
One side question: now the scope of shortcuts is the div, can I extended to whole tiddler! I mean where ever in the tiddler I press Right/Left arrow I can get trigger action. If possible, I prefer to not overwrite the core viewtemplate. --Mohammad On Thursday, December 3, 2020 at 12:45:41 PM UTC+3:30 [email protected] wrote: > Regarding focus a couple of other tricks that can help depending on the > situation: > - use the tm-focus-selector message. > - use a <$edit-text> widget with focus="true" in the content. You can even > hide it with CSS and it will grab focus on rendering. The entire Streams > flow depends on this for example. > > On Thursday, December 3, 2020 at 10:13:00 AM UTC+1 Saq Imtiaz wrote: > >> Good morning Mohammad, >> >> The wikify, set and vars widgets all have in common that they set up >> variables. However, whenever a variable changes, to make their descendant >> widgets aware of the new value, they have to refresh all of their content. >> >> This can cause problems like loosing focus or even significantly slower >> performance. Therefore use filtered widget attributes instead where >> possible, or set up your variables as close as possible to the final place >> where you want to use them (even if it might mean using two vars widgets >> instead of one). >> >> Hope this helps, >> Saq >> > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/fdd477ed-8e5e-4050-867e-9d13cfff59b9n%40googlegroups.com.

