Stop scroll events in virtual scroll (ion list) while ion searchbar has focus

Hello everyone!

Is it possible to stop iOS scroll event on ion-list that is happening while user clicks on ion-scroll and scroll actually gets focus?

I am experiencing strange behavior with virtual scroll when user scrolls on list of let’s say 100 cells and during the scroll action occurs enters search query and confirms selection.

Specific error I am having is undefined is not an object (cells[i].height).

What I am doing when user confirms search action is to first of delete all available cells in cells list object.

I think this is some render issue while ionic performs scroll and tries to update list with empty list?

The same behavior cannot be reproduced if scroll is stopped and search is executed.

Thanks for help!