-
Notifications
You must be signed in to change notification settings - Fork 11
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
Mouse stops interaction with application after native drag over TextField #1897
Comments
Can you try using the
EDIT: MouseEvents will not work (properly) while |
@2jfw Anyway I think such behaviour looks like a bug cause it happens only when you drag something over
Its from your experience or it noticed somewhere in AIR reference? |
This is what is happening in our app - while dragging something all MouseEvents are not triggered (e.g. RollOver/RollOut etc). You need to explicitly use the (Native)DragEvent in order to listen to mouse events while a dragging interaction is ongoing ( |
I would think that this is actually working as intended for the following reason: |
Problem Description
Mouse stops interaction with AIR application after native drag over
TextField
. After drag overTextField
anyMouseEvents
stops firing (MOUSE_OVER, ...).This issue prevent smooth UX where drag-and-drop functionality used.
It has been tested with multiple AIR versions (even with latest AIR 33.1.1.821) with multiple Windows and macOS devices with different OS versions.
Same problem in all cases.
Tracker link: https://tracker.adobe.com/#/view/AIR-3794521
Related issues (not the same):
#193
#194
Steps to Reproduce
TextField
at the right.SimpleButton
at the left.Application example with sources attached.
nativedrag_mouseover_bug.zip
Actual Result:
Mouse events didn't fired anymore until you not finish drag-drop (by release mouse button).
SimpleButton
not change state when your mouse over it.Expected Result:
Mouse events should works. In traces you will see "over" messages when mouse goes over
SimpleButton
.SimpleButton
change state when your mouse over it.Known Workarounds
Use
NativeDragEvent.NATIVE_DRAG_ENTER
,NativeDragEvent.NATIVE_DRAG_DROP
andNativeDragEvent.NATIVE_DRAG_EXIT
events to change render state by youself. Instead ofSimpleButton
you need your own button implementation to control button render states. #1897 (comment)*Also you can set up
mouseEnabled=false
for allTextFields
on native drag start just to avoid such behavior until drag-and-drop will be end.The text was updated successfully, but these errors were encountered: