Hello DocSearch team!
I have a request for you, for a next DocSearch release.
Apparently Algolia Autocomplete is able to do this, it would be amazing to be able to do it for docsearch too.
Such API could do the trick:
docsearch({
apiKey: 'xxxxxxxxxxxxxxxxxxxxxx',
indexName: 'xxxxxxxxxxxxx',
inputSelector: '#searchbox, #searchbox-mobile'
});
Why we need this?
There is a running issue since the begining of DocSearch, and it's the ability of making a responsive version of it.
Because a lot of documentations are made with such structure:
Desktop:
[ Sidebar ] [ Main Content Area ]
[ Sidebar ] [ Main Content Area ]
[ Sidebar ] [ Main Content Area ]
[ Sidebar ] [ Main Content Area ]
Mobile:
[ Sidebar as navigation]
[ Main Content Area ]
[ Main Content Area ]
[ Main Content Area ]
This multi input feature would help us making responsive DocSearch implementations, and avoid us to loose time by performing CSS Gymnastic to make sure the input behaviour is still perfect.
Hello DocSearch team!
I have a request for you, for a next DocSearch release.
Apparently Algolia Autocomplete is able to do this, it would be amazing to be able to do it for docsearch too.
Such API could do the trick:
Why we need this?
There is a running issue since the begining of DocSearch, and it's the ability of making a responsive version of it.
Because a lot of documentations are made with such structure:
Desktop:
Mobile:
This multi input feature would help us making responsive DocSearch implementations, and avoid us to loose time by performing CSS Gymnastic to make sure the input behaviour is still perfect.