This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Results Snapping Disable Option

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Results Snapping Disable Option

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #12942
    alan_mcginnisalan_mcginnis
    Participant

    I have noticed on several sites that I am using this plugin on that when the mouse is inside the results box and I scroll there is some sort of scroll hijacking going on that tries to snap to the nearest item in the results list. Is there a way to disable the “snapping” effect?

    #12949
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    It is a built in scrollbar feature, unfortunately there is no option for that, but it’s possible to turn it off by using a custom code.

    I’ve made a small script snippet, which executes whenever the results are displayed, and reloads the scrollbar without the snapping function. Place this to the functions.php file in your active theme/child theme directory (copy from line 3):

    !! Before any modifications, please have a back-up of your entire site including files, database etc.., in case anything goes wrong !!

    #12950
    alan_mcginnisalan_mcginnis
    Participant

    Perfect! Thank you!

    #12951
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

    #12952
    alan_mcginnisalan_mcginnis
    Participant

    You cannot access this content.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Results Snapping Disable Option’ is closed to new replies.