Collapse auto close when i put value in multiline TextInput

I want to create collapse with form. But I stuck in Form. When i put values in TextInput box then it’s automatically closed. It’s doing First time but again expand form then putting value then its work fine. How to resolve this problem.
Please visite this link and solve my problem.