Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
2 tasks done
IeuanWalker opened this issue Sep 25, 2024 · 0 comments
Open
2 tasks done
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified

Comments

@IeuanWalker
Copy link
Contributor

IeuanWalker commented Sep 25, 2024

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

@IeuanWalker IeuanWalker added bug Something isn't working unverified labels Sep 25, 2024
@vhugogarcia vhugogarcia added the area/behaviors Issue/Discussion/PR that has to do with Behaviors label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/behaviors Issue/Discussion/PR that has to do with Behaviors bug Something isn't working unverified
Projects
None yet
Development

No branches or pull requests

2 participants