searchable_dropdown
searchable_dropdown copied to clipboard
keyboard always show up.
Hi, first of all, let me thank the developer for this great and useful flutter package.
The keyboard seems to always show up when the dropdownMenu button is pressed. Can it be possible to only show the keyboard when the user presses the search input TextField?
I took a look at the package's code and it seems that autofocus: true is calling the keyboard, right? How to avoid this?
Thanks, Ricardo
Hey, I'm feeling the same, by any chance, did you find some work around?
You can copy the whole code for you and change autofocus: to false for testing your side of the app. But this way you no longer will receive updates and new stuff that the original plugin might receive. It would be great if owner or someone provide an upgraded version with autofocus accessible from the outside. I don´t know how to help the developer on this task yet.
yes, autofocus control as widget property is really needed.
I have added a PR with isAutoFocus option to switch on and off keyboard by default.
Any new status about this?
@kazyamof
Any new status about this?
You can check my branch here,
https://github.com/utkarshmarwaha/searchable_dropdown/tree/keyboard_off_default
@kazyamof
Any new status about this?
You can check my branch here,
https://github.com/utkarshmarwaha/searchable_dropdown/tree/keyboard_off_default
Nice, well done!