Xamarincommunitytoolkit: [Enhancement] UserStoppedTypingBehavior

Created on 24 Aug 2020  路  5Comments  路  Source: xamarin/XamarinCommunityToolkit

Summary

  • After a certain threshold has been reached after the user has stopped typing, a given command can be executed
  • Stopped Typing Threshold will be adjustable
  • Auto Dismiss Keyboard will be adjustable when user has stopped typing

See this repository for an example: https://github.com/jBijsterboschNL/Xamarin.Forms-UserStoppedTypingBehavior

And this blog post about the implementation:
https://blog.johndotnet.nl/automatic-search-trigger-when-user-stopped-typing-in-xamarin-forms/

Intended Use Case

If you want a command (f.e. a search command) to be automatically executed after the user has stopped typing, but you don't want it to be triggered on each text changed event (triggering too many and also obsolete search calls).

behaviors feature-request ready-to-implement

Most helpful comment

I am Gerald and I approve of this idea!

All 5 comments

I am Gerald and I approve of this idea!

Sounds cool!

Great! :) will try to get this implemented into the Xamarin Community Toolkit in the next weeks.

PR has been merged, so this issue can be closed :) thanks all for your feedback

Closed by #253

Was this page helpful?
0 / 5 - 0 ratings

Related issues

varyamereon picture varyamereon  路  4Comments

jfversluis picture jfversluis  路  3Comments

acuntex picture acuntex  路  4Comments

jfversluis picture jfversluis  路  6Comments

rdelrosario picture rdelrosario  路  3Comments