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

Flutter Web: Prev/Next/Done button from the keyboard appears under the custom prev/next/done button from this package #187

Closed
nerakatiryrref opened this issue Apr 8, 2022 · 15 comments

Comments

@nerakatiryrref
Copy link

Hi,

I tried on flutter web on ios browser (chrome or safari), the prev/next/done button from the keyboard appears under the prev/next/done button from flutter_keyboard_actions.

@nerakatiryrref nerakatiryrref changed the title Prev/Next/Done button from the keyboard appears under the custom prev/next/done button from this package Flutter Web: Prev/Next/Done button from the keyboard appears under the custom prev/next/done button from this package Apr 8, 2022
@diegoveloper
Copy link
Owner

@nerakatiryrref can you add more information? screenshots would help.

@nerakatiryrref
Copy link
Author

IMG_8419

Hi,attached the screenshot.

@nerakatiryrref
Copy link
Author

I am running the example app using chrome / safari browser in iOS. Android browser works as expected (only one toolbar from keyboard action package)

@diegoveloper
Copy link
Owner

hmmm those actions are part of the keyboard I think, so is out of the control of keyboard_actions, maybe you have some options in your device keyboard settings.

@nerakatiryrref
Copy link
Author

Hi,

Thanks for your reply. This issue not only appears in my device, but in several iOS device. The keyboard setting is default. No special / custom setting. You may have to check it by your self using iOS simulator.

@diegoveloper
Copy link
Owner

are you using the google keyboard? https://apps.apple.com/pe/app/gboard-the-google-keyboard/id1091700242?l=en

@Justus-M
Copy link

Justus-M commented Aug 26, 2022

https://apps.apple.com/pe/app/gboard-the-google-keyboard/id1091700242?l=en

This issue happens with the default web keyboard on iOS.

Have you tried it out?

I don't have the google keyboard but I have the same issue

@Justus-M
Copy link

simulator_screenshot_87879490-39FA-47F8-80C6-7023FC2AA5D9
*Fertig means done in german

@diegoveloper
Copy link
Owner

Simulator Screen Shot - iPhone SE (3rd generation) - 2022-08-26 at 11 51 16
Simulator Screen Shot - iPhone SE (3rd generation) - 2022-08-26 at 11 51 19

Which iOS version are you using?

@Justus-M
Copy link

Justus-M commented Aug 26, 2022

Simulator Screen Shot - iPhone SE (3rd generation) - 2022-08-26 at 11 51 16 Simulator Screen Shot - iPhone SE (3rd generation) - 2022-08-26 at 11 51 19

Which iOS version are you using?

You are in the app.

This issue we are reporting is in the browser/Web

@diegoveloper
Copy link
Owner

ah sorry, do you need keyboard actions in browser? maybe you can check https://api.flutter.dev/flutter/foundation/kIsWeb-constant.html and avoid keyboard actions when the release is for web.

@Justus-M
Copy link

@diegoveloper Thanks for trying to help. Unfortunately the keyboard actions (in the bar above the keyboard) can't be turned off with textfield/textformfield in flutter web.

@Justus-M
Copy link

I think this can't be changed
flutter/flutter#92024 (comment)

@diegoveloper
Copy link
Owner

@Justus-M
Copy link

Ah sorry I thought you meant disable the default bar, not the custom KeyboardActions.

OP wanted to use custom keyboard actions instead of the default, so did I, so this is not a solution.

I think this cannot be achieved as explained in the comment I linked in my previous comment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants