contao/contao-demo

Search-icon has no functionality

Closed this issue · 1 comments

saress commented

Currently the searchbar uses a background-image:

.searchbar .widget-text:before { position: absolute; top: 50%; right: 1.5rem; z-index: 5; transform: translateY(-50%); width: 1.5rem; height: 1.5rem; background: white url(../../files/contaodemo/theme/src/img/icons/search.svg) center center no-repeat; content: ""; pointer-events: none; }

image

and the submit-button will not be displayed:

.searchbar .widget-submit { display: none; position: absolute; top: 50%; right: 1.5rem; z-index: 5; transform: translateY(-50%); overflow: hidden; width: 1.5rem; height: 1.5rem; }

So in this case you cannot click or tap the search-icon with your mouse / fingers and you always have to use the keyboard to submit.

Kind regards,
Saress

Could be closed as #12 has been merged already