xrb21 / flutter-html-editor

MIT License
82 stars 64 forks source link

Back button doesn't work #33

Open rt16 opened 3 years ago

rt16 commented 3 years ago

When ever i type something and click on the device back button the back button does not work.If the text editor does not have focus and then i click on the back button it works fine.

I have the following code: Column( mainAxisAlignment: MainAxisAlignment.center, children: [
HtmlEditor( showBottomToolbar: false,
hint: "Your text here...", //value: "text content initial, if any", key: keyEditor, height: 400, ),
], ),

aravind816 commented 3 years ago

Yes.... The keyboard is not closing when clicked on/off focus in the text editor or by pressing the back button. I have to focus on another field to get back the control of the keyboard.

I am getting the below error as well in the console.

E/InputMethodManager(16084): b/117267690: Failed to get fallback IMM with expected displayId=31 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{12ce443 VFEDHVC.. ........ 0,0-716,792}

W/cr_media(16084): Requires BLUETOOTH permission

E/InputMethodManager(16084): b/117267690: Failed to get fallback IMM with expected displayId=31 actual IMM#displayId=0 view=io.flutter.plugins.webviewflutter.InputAwareWebView{12ce443 VFEDHVC.. .F...... 0,0-71