Why is the search button gets a click?

why is the search button gets a click?
March 23rd 20 at 19:26
2 answers
March 23rd 20 at 19:28
Solution
Add button flex-shrink: 0
@Jamir, thanks
how does it work? - Torrey.Quigle commented on March 23rd 20 at 19:31
@Torrey.Quigle, button twitching due to the change of the width of the elements (for which changes find yourself), flex-shrink: 0 disables the element to be compressed less than a predetermined width. - Jamir commented on March 23rd 20 at 19:34
@Jamir, thanks - Torrey.Quigle commented on March 23rd 20 at 19:37
March 23rd 20 at 19:30
Field is not present, the button is pressed - no jerking, button opens the menu.
The field already exists, press again the button - the field is trying the abyss, but then opens, which button moves, something like that.
@Maximilian.Mills22, so how to solve? - Torrey.Quigle commented on March 23rd 20 at 19:33

Find more questions by tags LayoutHTMLCSS