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

Issue When I Use flagNotTouchModal to use fields that show keyboards , it works , but it don't let me access any other TextField in any other App Like whatsapp ( can't open the keyboard from any other app which has TextField while the overlay is opened #2

Closed
sabahya3 opened this issue Apr 29, 2022 · 2 comments
Labels
bug Something isn't working

Comments

@sabahya3
Copy link

No description provided.

@X-SLAYER X-SLAYER added the bug Something isn't working label Apr 30, 2022
@X-SLAYER
Copy link
Owner

X-SLAYER commented May 2, 2022

the flag flagNotTouchModal will prevent the system from showing the keyboard outside the overlay
so I added a new method to update the flag according to your settings at run time like using focus node or you can play with it

example :

get the latest version:

  flutter_overlay_window:
    git:
      url: https://github.com/X-SLAYER/flutter_overlay_window.git
Focus(
      onFocusChange: (hasFocus) async {
        if (hasFocus) {
          await FlutterOverlayWindow.updateFlag(OverlayFlag.flagNotTouchModal);
        } else {
          await FlutterOverlayWindow.updateFlag(OverlayFlag.flagNotFocusable);
        }
      },
      child: Scaffold(
        body: ......

or check the example from here

@sabahya3
Copy link
Author

sabahya3 commented May 3, 2022

Solved bro, Thank u so much

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

2 participants