I have a problem which makes me crazy. I have created a scroll rect
in unity with a lot of Input Field
's like in picture below.
My problem is : I can't scroll!!! Every time when I try, the keyboard it's opened. Scroll it's able just if I hit the red space between the Input field
's.
I am thinking that the problem is because the keyboard appears on OnPointerDown
and not OnPointerUp
or OnPointerClick
. I tried to add a EventTrigger
component to InputField
and add actions for OnPointerDown
and OnPointerUp
but I had no success to change keyboard behavior.
Any help? Any ideas? Please! Thanks a lot!
You can create Button and attach InputField as child of it, then:
InputField.Select()
Raycast Target
for InputField, Placeholder and TextTo hide button you can make it transparent.