Hi Jeremy, > This is actually related to the conditional in the edit widget that we > discussed a few weeks ago. >
I knew it rang a bell but that last step didn't make it all the way to my focus. The issue is that when the button is clicked the text edit has the focus, > thus the conditional kicks in and prevents the update. Indeed. Now that you've pointed that out and with a little reflection on that conditional, the solution turns out all the more simple, yay :-) *refresh simple editor when empty text, e.g. hitting ENTER* https://github.com/Jermolene/TiddlyWiki5/pull/2702 You’ll recall that the purpose of the conditional was to prevent the > cursor/selection position being lost when the value for the text input is > updated. So the fix would be to manually preserve the selection position > across the update. Gladly, such complexities doen't appear to be needed, at least not for now and not for the one usecase we've been trying to solve, i.e. to clear the input on "commit" as captured by the KeyboardWidget for the ENTER key, or any other. *@Jeremy:* There's one thing I don't quite understand though: Assume CL does his thing as in the OP, enters some text, hits enter, Tiddler gets created. Shouldn't switching some event like switching some tabs, etc... trigger a refresh on that input, now that it no longer has focus? That doesn't appear to be the case, though. Anyway, happy to see this resolved, after all, even before the next release. Best wishes, Tobias. -- 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 post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/7b2bf5a5-f9fd-40c5-964b-d1817cbf578f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

