• Resolved ansonc

    (@ansonc)


    Hello,

    I have a little issue. Normally when I click outside of a drop down menu, the menu will retract. However, it doesn’t happen to my form. It only works for the phone number one. Please advise.

    Thanks.

    The page I need help with: [log in to see the link]

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Narinder Singh

    (@narinderbisht)

    Hi @ansonc
    Thank you for using this plugin.
    Yes, there something missed in the jQuery library. I will try to resolve it in the next version. It’s is working with the ESC key.
    If possible, kindly share your reviews.

    Regards
    Narinder.

    Hello!

    I could find a solution:

    edit file:

    assets/js/countrySelect.js

    find:

    if (that.countryList.hasClass("hide") && !that.countryInput.prop("disabled")) {
    					that._showDropdown();
    }

    replace with:

    if (that.countryList.hasClass("hide") && !that.countryInput.prop("disabled")) {
    	that._showDropdown();
    }else {
    	that._closeDropdown();
    }

    then minify the file and replace with the file assets/js/countrySelect.min.js

    • This reply was modified 5 years, 1 month ago by wisam-mo.
    Hergé

    (@rguilbert)

    Hi @wisam-mo
    Thanks for your answer about this issue.
    I tried but it doesn’t work.
    Can you explain please about “then minify the file and replace with the file assets/js/countrySelect.min.js” ?
    I don’t understand what that means. ??
    Thanks
    Rémi

    Plugin Author Narinder Singh

    (@narinderbisht)

    Hi @rguilbert, @ansonc, @wisam-mo

    I updated the plugin code. Now, this issue has fixed. Kindly update the plugin.
    I hope you like the plugin functionality. Kindly share your reviews.

    Regards
    Narinder.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Drop down menu restrict after clicked outside of the box.’ is closed to new replies.