Forums › Forums › Search & Filter Pro › Change of category doesn’t trigger (responsive issue)
Tagged: responsive, V3
- This topic has 14 replies, 2 voices, and was last updated 4 years, 8 months ago by Trevor.
-
Anonymous(Private) January 19, 2020 at 12:42 pm #231533
At http://www.zettelwerk.com/zettelsuchergebnisse (without AJAX) the initial setting of a filter eg “Bescheinigung” triggers well and collects the results and displays them with masonry well.
After this initial selection, if you want to change let’s say to “Post” within the same category, the action get’s triggered, the page reloaded, but for some reason it stays with the old category “Bescheinigung”.
On of the possible reasons might be, that I followed the responsive approach discussed elsewere in this forum, where I defined the filters for the Search Form UI twice, displaying Radio select on all screens except mobile, where CSS is used to display:none and instead display:block the duplicate set of dropdown selects.
Resetting the complete form “Alle Filter zurücksetzen” works.
Trevor(Private) January 21, 2020 at 2:27 pm #231692I see the issue, and I apologize for not seeing this earlier. You can use each control source only once, as detailed in our documentation here:
https://searchandfilter.com/documentation/getting-started/adding-new-fields/
See this screenshot:
https://www.screencast.com/t/L6ogh8Wu4XJX
Thus the display of the terms must be in one field in one format for both desktop and mobile. This may be changed in V3 (due in a few months).
Similarly, you can have only the one form on the page (you cannot use one form for mobile and another form for desktop).
Anonymous(Private) January 24, 2020 at 5:25 pm #232062I might try something like this here: https://stackoverflow.com/questions/13534601/re-attaching-jquery-detach and make it dependend on viewport size.
-
AuthorPosts