1
NGUI 3 Support / Re: UIInput and ScrollView on Mobile
« on: June 05, 2014, 09:42:08 AM »
Or, you can try different approach that Aren suggested to me quite some time ago, which is basically about redirecting touches from inputs while dragging scrollview:
void OnDragStart (){
UICamera.currentTouch.pressed = GameObject.Find("Dummy Placeholder");
// or something up the hierarchy like gameObject.transform.parent.gameObject;//
}
i have this little script on all of my inputs inside scroll view and the mobile keyboard wont pop out while draging the scroll view ( altough i'm not working on latest version of ngui so i can't confirm it will work of 100% )
void OnDragStart (){
UICamera.currentTouch.pressed = GameObject.Find("Dummy Placeholder");
// or something up the hierarchy like gameObject.transform.parent.gameObject;//
}
i have this little script on all of my inputs inside scroll view and the mobile keyboard wont pop out while draging the scroll view ( altough i'm not working on latest version of ngui so i can't confirm it will work of 100% )

Thanks again for your help!