After changing the value of input, the scrolling position of the background will be changed. Why?

modify the product information. In a pop-up box, input will change the scrolling position of the background after getting the focus and go back to the top

.
Feb.07,2022

use event.preventDefault () to try


after input gets the focus, the health disk will be called up.
add an overflow:hidden; to html and body when the pop-up box comes out

feel that there are all kinds of problems with using fixed in the pop-up box.

Menu