Skip to content
Discussion options

You must be logged in to vote

Hi @ericshulman,

The underlying issue is that the focus and blur events don't bubble. I have used the focusin and focusout events in similar situations. Would this work for you for the time being?

\define showevent() <$action-log event=<<event-type>> />

<$eventcatcher events="focusin focusout" selector=".myclass" actions-focusin=<<showevent>> actions-focusout=<<showevent>>>
   <$edit-text class="myclass" tiddler="test" tag="input"/>
</$eventcatcher>

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ericshulman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants