Tasharen Entertainment Forum

Support => NGUI 3 Support => Topic started by: RocketBunnyRob on September 04, 2014, 08:53:06 PM

Title: Stopping UIInput in scroll view
Post by: RocketBunnyRob on September 04, 2014, 08:53:06 PM
Hi,

I'm building an app that has a series of UIInputs in a row down the screen, like a questionnaire, and the user can swipe up and down (in a scrollview) to see all of the input fields.  The only problem I'm having is that the input fields get triggered when the user starts to swipe because they start their swipe touching an input field.

Is there a good way of getting around this problem? 

Thanks,

-Rob.
Title: Re: Stopping UIInput in scroll view
Post by: ArenMook on September 05, 2014, 01:07:32 PM
UIInput responds to selection. If you don't want it to, you will either need to modify its code, or place the UIInput script on an object that doesn't have a collider. You can then choose to give it selection via code (by setting UIInput.isSelected).