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] Lose focus on editor (version 2.2.0+1-dev.1) #84

Closed
foxbunlong opened this issue Jul 4, 2021 · 7 comments
Closed

[BUG] Lose focus on editor (version 2.2.0+1-dev.1) #84

foxbunlong opened this issue Jul 4, 2021 · 7 comments
Assignees
Labels
bug Something isn't working

Comments

@foxbunlong
Copy link

Describe the bug
Lost focus on editor (in a bottomsheet) after picking color. So user cannot continue to type with color format.

To Reproduce
Steps to reproduce the behavior:

  1. Open bottomsheet with html editor
  2. Type something
  3. Click on change color and select correct color
  4. Continue to type, no text is applied

Expected behavior
Html editor should show new text with color format

Device:
Virtual machine Android 8.0

@foxbunlong foxbunlong added the bug Something isn't working label Jul 4, 2021
@tneotia
Copy link
Owner

tneotia commented Jul 8, 2021

Yep this is another bug with focus on the editor. Can't do anything here because when the user clicks on a button it will remove focus from the WebView for some reason.

@bhanubbs
Copy link

bhanubbs commented Oct 20, 2021

Can we use focus node to manually control focus in editor

@tneotia
Copy link
Owner

tneotia commented Oct 20, 2021

Unfortunately no because the editor is a webview, it does not have a focus node.

@cksoft0807
Copy link

So there is no way to regain focus once it is lost?

@tneotia
Copy link
Owner

tneotia commented Nov 2, 2021

That is correct, you cannot programatically regain the focus in the editor. Once Flutter adds better platform support for webview, hopefully this will be possible.

@tneotia
Copy link
Owner

tneotia commented Nov 30, 2021

The original issue has been fixed, but for tracking focus issues please see #47

@tneotia tneotia closed this as completed Nov 30, 2021
@foxbunlong
Copy link
Author

@tneotia thank you I will update to newest version and give it a try. Thanks 👍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants