Form icon indicating copy to clipboard operation
Form copied to clipboard

Main thread being blocked occasionally

Open RyanKim01 opened this issue 9 years ago • 4 comments

Has anyone experienced a main thread being blocked? This does not happen every time but it happens quite a lot.

Problem: When the form is being initialized, I touch one of textfields to type something in it. Keyboard does not come up and screen(main thread) is frozen for about 5 seconds and keyboard pops up.

Did anyone notice this?

RyanKim01 avatar Jan 06 '16 08:01 RyanKim01

Weird. Are you been able to reproduce this in one of the provided Demos? Or it only happens in your project?

3lvis avatar Jan 06 '16 09:01 3lvis

I just tried with Swift demo in Demo file and could reproduce it. As soon as demo runs, I tap "read-only" button to enable datasource and tap Bonus textfield. It stops around 5 seconds and a keyboard pops up.

I'm running the Demo file on my device, iPad Air. Pod is updated up to date and so does iOS version in my device.

RyanKim01 avatar Jan 06 '16 19:01 RyanKim01

I'll have a look, thanks! :grin:

3lvis avatar Jan 07 '16 00:01 3lvis

@3lvis No problem. One more thing I found is that this is reproducible only when the app is first installed in the device. If I close the app and reopen it, I won't have that problem. Maybe installing process in the device is causing this block? I'm not sure.

RyanKim01 avatar Jan 08 '16 02:01 RyanKim01