Forums Forums Search & Filter Pro JS search field formatting not loading in mobile?

Viewing 10 posts - 1 through 10 (of 11 total)
  • Trevor
    #212133

    I am not aware of anything. However, using JS to add style on document load is not ideal. What exactly does the script do?

    Anonymous
    #212135
    This reply has been marked as private.
    Trevor
    #212139

    Sorry, 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
    #212143
    This reply has been marked as private.
    Trevor
    #212226

    Are you using comboboxes, and if so, which combobox script? The default in our plugin settings is Chosen, so try using Select2? Chosen has some issues with mobiles.

    Anonymous
    #212357

    Hi Trevor,

    Thank you Trevor. Will look into Select2.

    How do I disable the Chosen javascript. i.e. stop S&F from loading that?

    Thank you,
    Best,
    Don

    Anonymous
    #212359

    Hi Trevor,
    I found the setting.
    Thanks,
    Don

    Anonymous
    #212361

    Hi 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,
    Don

    Anonymous
    #212364

    Hi 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

    Anonymous
    #212367

    Hi Trevor,
    Will be possible using css attribute wildcard matches for individual elements.
    In this case I don’t expect the search categories to ever change much so should be OK.

    Would be nice if there were class tree level indicators we could call.

    Best,
    Don

Viewing 10 posts - 1 through 10 (of 11 total)