Fixes #17502: avoid browser scroll when touching text widgets