When you enter the input city, the list of cities from the database drops out, when you select a city, the input moves down a little, then if you repeat the input is exactly, if you refresh the page, then everything is also the question how to correct the input shift?
- Most likely in the css is indented when you reset the focus or the acquisition of focus. - ArchDemon
- How to fix it? Write input: focus: margin 0; - user191034
- When we enter any data into the text field, it stands still. But if we choose something from the list, the text field moves somewhere. The problem is most likely not in CSS, but in JS. Since when you click on one of the items, a JS event occurs, which in turn inserts the name of the city from the list into the text field. And here we must look for the problem. - StasHappy
|