ngx-virtual-scroller icon indicating copy to clipboard operation
ngx-virtual-scroller copied to clipboard

Recommendation on hiding a keyboard when user starts scrolling

Open Jacobra93 opened this issue 5 years ago • 0 comments

Hey, I am developing an Ionic app and want to hide the keyboard when a user starts scrolling. I know I can hook into the Angular (scroll) event, but that is very noisy and gets fired a lot. I wanted to know if there is something in ngx-virtual-scroller that can alert me when scrolling starts, or another Javascript/Angular way to do it that is less noisy.

I have an example Ionic app here, if anyone wants to play around with it on a device: https://github.com/Jacobra93/ionic-hide-keyboard

This works fine on Android, but on iOS, the keyboard hiding is very laggy and there is a black space where the keyboard was.

Thanks!

Jacobra93 avatar Apr 29 '20 16:04 Jacobra93