Skip to content

[BUG] UserStoppedTypingBehavior - ShouldDismissKeyboardAutomatically doesnt work on android #2230

Closed

Description

@IeuanWalker

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

It's not something I need, just something that I noticed.

ShouldDismissKeyboardAutomatically doesn't dismiss the keyboard on Android, but works on iOS.
There is nothing in the docs that indicates it shouldn't work.

Expected Behavior

Keyboard to dismiss

Steps To Reproduce

Just add the behaviour to an editor -

EditorField.Behaviors.Add(new UserStoppedTypingBehavior()
{
	StoppedTypingTimeThreshold = 1000,
	MinimumLengthThreshold = 4,
	ShouldDismissKeyboardAutomatically = true,
	Command = new Command(OnUserStoppedTyping)
});

Link to public reproduction project repository

Sorry, it is not an issue for me as it's not a feature I'm using, thought I'd just report it if anyone else runs into the same thing.
Feel free to close if a repo is required

Environment

- .NET MAUI CommunityToolkit: 9.0.3
- OS: Android (tested on pixel 6 - android 14)
- .NET MAUI: 8.0.90

Anything else?

No response

Activity

  1. d-harding commented on Oct 31, 2025

    @d-harding

    This also does not work when applying to MaxLengthReachedBehavior

    Environment:

    - .NET MAUI CommunityToolkit: 12.2.0
    - OS: Android (tested on Samsung S25 physical device)
    - .NET MAUI: 9.0.120
    

    Exmaple:

    <Entry MaxLength="5">
    	<Entry.Behaviors>
    		<toolkit:MaxLengthReachedBehavior ShouldDismissKeyboardAutomatically="True" />
    	</Entry.Behaviors>
    </Entry>
    
  2. locked and limited conversation to collaborators on Nov 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/behaviorsIssue/Discussion/PR that has to do with BehaviorsbugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions