How many clicks to open up keyboard on mobile when scrolling through

So I think there should be an option to be able to toggle on/off if you would like to make the keyboard open up on a set amount of clicks e.g double tap. The reason for this is because sometimes I’m just scrolling through my code and by accident let go and the keyboard opens up and I would want to make it open up on 2 fast consecutive clicks so there’s less of a chance of the keyboard opening up.
This might be because I’m new to coding on mobile as I usually use pc but I think it would be a great feature just to have.