Forums › Forums › Search & Filter Pro › JS search field formatting not loading in mobile?
Tagged: jquery mobile search-form, V3
- This topic has 11 replies, 2 voices, and was last updated 5 years, 7 months ago by Trevor.
-
Anonymous(Private) May 23, 2019 at 4:10 am #212112
Hello,
I have a development site at w3.tourismproperties.co.nz
There is a Search Filter search bar on the home page. It is nestled within/above a carousel.When one loads the page on a desktop the search bar is just fine. You can resize the loaded page to mobile and the search bar behaves as expected.
However, if you load the page from mobile, or reload it on desktop in a mobile emulation, quite often the search form elements don’t get styled by what I expect if jquery-ui.
There are no js errors shown.Do you know anything about S&F Pro script loading on mobile?
Is there a directive or something I need to change so the search form elements get the jquery-ui treatment on mobile?
Thank you for your help.
DonTrevor(Private) May 23, 2019 at 7:26 am #212139Sorry, I misunderstood your initial query. Can you make annotated screenshots of the ‘good’ and ‘faulty’ forms when seen in mobile? You will need to upload these images to a file sharing site and give me the links to them (images cannot be uploaded to this forum).
Anonymous(Private) May 24, 2019 at 1:33 am #212361Hi Trevor,
A combo box rendered using the Chosen js library injected “sf-level-1” or “sf-level-2″ to indicate the tree.
e.g. class=”active-result sf-level-2 sf-item-128″I used this to style the tree.
The Select2 dropdown render gives only: class=”select2-results__option”
There is no tree level class indicator.The “sf-level-1 or 2” looks like a class set by S&F.
Is there something I can change so that Select2 also has the tree class indicators?
Thanks,
DonAnonymous(Private) May 24, 2019 at 4:09 am #212364Hi Trevor,
There is a problem.
Without a proper level indicator class in the select2 options tree I decided to select elements by calling their individual ids.However, the ids are different every time the search form loads. 🙁
What do you suggest?
Thanks,Don
-
AuthorPosts