A
A
Anton2019-09-27 19:30:41
css
Anton, 2019-09-27 19:30:41

Why does the search collapse when clicking on the "submit" button?

It is necessary that when you click on the icon when the search is expanded, the page is reloaded, as well as when you press enter. As I understand it, no matter where you click, first the input is removed from focus. How to solve this, please tell me.
https://codepen.io/satoshi-r/pen/QWLPMXz

Answer the question

In order to leave comments, you need to log in

1 answer(s)
W
WapSter, 2019-09-27
@ebtvau

You have a layer overlap, the input overlaps the button, it is better to do such things on js, and not using css.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question