About scroll and text coordinate issues in EditBox

I have implemented EditBox. And I found two problems. I think some people don’t mind this issue. But as a designer, I want to solve this problem that doesn’t look very good. Please tell me how to solve it. Thank you.

1:The first problem is that it bounces when scrolling the EditBox. I want to know how to turn off bouncing.

2:The second problem is that the Y coordinate of the text in the EditBox is misaligned. Please look at the image. The height of the text changes during and after typing. Is there a solution?

Thanks.