Touch events wont work while xhr is pending

#1

Anybody experienced this behavior ?
As soon as xhr completes, all the touch events(mostly navigation) start processing as if they were waiting in a queue.

#2

Are you processing a large amount of content in the XHR? If you block the JS thread it will block most event processing.

#3

XHR content length is not too big. Although number of items in result set is around 100.

Even though I am using Flat list to render those items. I get warning on console saying the list is big. (this seem to be another issue of its own)

And about data processing. I am doing distance calculation just like this example.

PS: I have noticed similar thing in other native apps on my phone.while fetching data, controls don’t work.