-
Notifications
You must be signed in to change notification settings - Fork 6
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
InputEnabled vs grabDragInteraction enabled #285
Comments
I think I had things a bit mixed up, so this may not be a bug. But I am confused as to what |
Yes I agree this is confusing. It is best to just toggle @arouinfar, does this seem reasonable to you? Note that grabDragInteraction.enabledProperty is the phetioReadOnly: true, but toggling the inputEnabledProperty will dissallow keyboard interaction too. |
Sounds good to me @zepumph. |
Perfect. Above I fixed GFL as well, which actually didn't have inputEnabled instrumented (in a buggy way) even though we wanted it, and we were passing the option through. I fixed it above! |
Device
Dell
OS
Win 11
Browser
Chrome
Problem Description
For phetsims/qa#791
In studio, I noticed that if you want to disable dragging for the zoomed out book you use
friction.frictionScreen.view.topBookNode.inputEnabledProperty
but if you want to disable dragging in the zoomed in bookfriction.frictionScreen.view.atomicView.grabDragInteraction.enabledProperty
doesn't work instead you need to usefriction.frictionScreen.view.atomicView.atomDragArea.inputEnabledProperty
. This seems inconsistent to me.The text was updated successfully, but these errors were encountered: