Closed Cricin closed 2 years ago
i got the reason, the PointerButtons constructed with pressed state sent to ComposeScene, so Compose think it is pressed regardless of eventType is release, a subsequent move event with no PointerButtons will raise click event, problems solved.
Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.
hi, I am trying to use compose desktop directly with lwjgl, everything is goes well expect mouse event handling. the click event is not raised when i release mouse button until mouse pointer moved. the code i used is this:
and mouse event is dispatched to ComposeScene:
the content composable function:
here is the stack when click raised in a mouse move event
anyone knows reason? help me plz.