Skip to content

[Ink] set hoverEnabled to false on mobile #322

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

Closed
wants to merge 1 commit into from

Conversation

oKcerG
Copy link
Contributor

@oKcerG oKcerG commented Oct 29, 2015

This fixes #321
The problem is that when a MouseArea has hoverEnabled to true, only a mouse move outside the area will set containsMouse to false. On a touch device this can only happen when you move the touch outside while staying pressed, not by simply releasing the touch.
Maybe this should be reported upstream to Qt.

@iBelieve
Copy link
Member

Thanks for the pull request! I like the idea, but the problem I see is that isMobile doesn't define whether or not a mouse exists. You could potentially have a touchscreen computer or a mobile phone with a mouse attached.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Ink containsMouse stays always true after it's pressed on mobile
2 participants