Skip to content
This repository has been archived by the owner on Feb 2, 2023. It is now read-only.

userInteractionEnabled defaults to NO #16

Merged
merged 1 commit into from
Aug 15, 2014

Conversation

mboyd1017
Copy link
Contributor

Previously self.userInteractionEnabled defaulted to YES, and this
caused plenty of bugs for me when text nodes would silently steal
touches. It should default to NO, and callers who want tappability on
their text nodes should manually set .userInteractionEnabled to YES.

Previously self.userInteractionEnabled defaulted to YES, and this
caused plenty of bugs for me when text nodes would silently steal
touches. It should default to NO, and callers who want tappability on
their text nodes should manually set .userInteractionEnabled to YES.
@facebook-github-bot
Copy link

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at cla@fb.com. Thanks!

@facebook-github-bot
Copy link

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

secretiverhyme added a commit that referenced this pull request Aug 15, 2014
Change ASTextNode's userInteractionEnabled default to NO.
@secretiverhyme secretiverhyme merged commit 1e2f39e into facebookarchive:master Aug 15, 2014
// Enable user interaction for text node, as ASControlNode disables it by default.
self.userInteractionEnabled = YES;
// Disable user interaction for text node by default.
self.userInteractionEnabled = NO;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(y)

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

Successfully merging this pull request may close these issues.

4 participants