Fixes #17036, On iOS, make sure the input caret stays in the active input field when scrolling - thanks Sebastien Brunot (IBM CCLA).
(cherry picked from commit dcc89ba51a83592e65b3daa84f216c0f5507e57e)