input: Add ability to take all available width
Merge pull request #724 from bem/issues/704@v2

input: Add ability to take all available width
popup: improve visibility checking algorithm