Comments (5)
did u set the overlay flag to OverlayFlag.clickThrough
from flutter_overlay_window.
I set the overlay flag to OverlayFlag.defaultFlag and enableDrag: true. First I can click but when touch overlay and drag it move very little (like I want click on it but I move my hand a little bit) then the overlay can't receive click in Flutter anymore
Work around: change line 316 in file OverlayService.java from "return dragging;" to "return false;"
from flutter_overlay_window.
I set the overlay flag to OverlayFlag.defaultFlag and enableDrag: true. First I can click but when touch overlay and drag it move very little (like I want click on it but I move my hand a little bit) then the overlay can't receive click in Flutter anymore
Work around: change line 316 in file OverlayService.java from "return dragging;" to "return false;"
the fix will be available in the next version
from flutter_overlay_window.
Thanks @X-SLAYER for the work. I also found another problem and still try to fix but not found the solution yet, related to click event on Overlay.
The problem is when call "FlutterOverlayWindow.closeOverlay()" from the Overlay (not from the main app like the example). And then call showOverlay again, this time the Overlay cannot receive any touch event in Flutter.
from flutter_overlay_window.
okay i will check that
from flutter_overlay_window.
Related Issues (20)
- Does it use Google Play services? HOT 1
- You can use the resize overlay and pass the enableDrag params HOT 2
- Could not run the example
- FlutterOverlayWindow.showOverlay(height: WindowSize.fullcover) wont work
- Listview scroll event conflicts with FlutterOverlayWindow drag,
- Save overlay position
- Open the main app from floating window? HOT 4
- MissingPluginException HOT 1
- Open Overlay from background when app is kill state HOT 3
- Android 14 requirese foregroundServiceType HOT 1
- Crash in production HOT 2
- when call Function showOverlay() nothing action HOT 2
- add ios support HOT 5
- Unable to create service flutter.overlay.window.flutter_overlay_window.OverlayService: HOT 4
- Add support for android API 34 HOT 1
- Height doesn't account for status bar
- Use of `FlutterEngineGroup` instead of simply using `FlutterEngine` HOT 1
- Overlay stops sending messages to UI when it's turned on after previously being closed after app termination
- Unable to create multiple overlay window. HOT 4
- Please add more flags to show when phone is looked HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter_overlay_window.