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

JFXButton triggers action on shadow click #14

Closed
rjahn opened this issue Oct 20, 2015 · 3 comments
Closed

JFXButton triggers action on shadow click #14

rjahn opened this issue Oct 20, 2015 · 3 comments

Comments

@rjahn
Copy link

rjahn commented Oct 20, 2015

Create a RAISED Button and click with the mouse on the shadow outside of the "visible button area".
The button action will be triggered.

Simply test it with main demo application (Dialogs).

It's not a big problem, but it's unusual to use/click the shadow.

@benjaminfoo
Copy link

I think its because the input-eventhandlers are registered on the complete node (+shadow effect) - not the actual panel of the node.

@rjahn
Copy link
Author

rjahn commented Oct 22, 2015

This isn't a problem on mobile devices, because fingers aren't as small as mouse pointers.

@jfoenixadmin
Copy link
Collaborator

Fixed.

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

No branches or pull requests

3 participants