简体   繁体   中英

iOS textarea stops working after scroll

I've got a strange problem.

For some reason when I tap into my textarea and then start to scroll, then want to type into the textarea it does not work.

Any ideas what the problem could be?

Edit

This only happens when the keyboard is up

Edit

Textarea is inside an absolute positioned div

After scrolling ends try this

if (!yourTextArea canBecomeFirstResponder)
     yourTextArea.enabled=YES;
    [yourTextArea becomeFirstResponder];

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM