Title: Close function does not work
Last modified: January 2, 2021

---

# Close function does not work

 *  Resolved [WP_User](https://wordpress.org/support/users/amarudare/)
 * (@amarudare)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/close-function-does-not-work/)
 * The plugin works great except when closing. For eg. If a user decides to go back
   instead of searching, the full page overlay will not close!
 * I saw there are a lot of requests in the support forum reporting a similar problem.
   It would be helpful if you looked into it.
 * Thanks.
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fclose-function-does-not-work%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 7 replies - 1 through 7 (of 7 total)

 *  Plugin Author [LebCit](https://wordpress.org/support/users/lebcit/)
 * (@lebcit)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13859367)
 * Hello,
 * Thanks for using FSMS plugin.
    In your situation, their is a conflict between
   the plugin and the theme. You have to remove the plugin or ask the support of
   Astra to give you a solution since the event on the search icon is handled by
   the theme and not the plugin.
 * Closing since not a plugin issue.
 * SYA,
    LebCit
 *  Thread Starter [WP_User](https://wordpress.org/support/users/amarudare/)
 * (@amarudare)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13863076)
 * Thanks for the prompt reply. The plugin interferes with other form plugins. I
   added an email subscription widget and when I click on the submit button it opens
   the search function.
 * The same is true with a contact form on my page.
 * Would it be possible to rectify this issue?
 * Thanks.
 *  Plugin Author [LebCit](https://wordpress.org/support/users/lebcit/)
 * (@lebcit)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13863526)
 * Hello,
 * FSMS plugin works on search input and search/submit button.
    The conflict here
   is with the submit type, I didn’t pay attention to this possibility 🙁 I will
   fix this issue with the next release of the plugin. For now, I could give you
   a workaround if you know how to deal with code files. The simplest way is to 
   open the plugin folder, open the js folder inside it, then open the file **full-
   screen-morphing-search.js**. At line 5, you’ll find the following : `let $searchInput
   = $( 'form' ).find( 'input, button' ).filter( '[type=search], [class=search-field],[
   name=s], [id=s], [type=submit]' );` Just delete `[type=submit]`, the code should
   now look like : `let $searchInput = $( 'form' ).find( 'input, button' ).filter('[
   type=search], [class=search-field], [name=s], [id=s]' );` Hope this helps for
   now.
 * SYA,
    LebCit
 *  Plugin Author [LebCit](https://wordpress.org/support/users/lebcit/)
 * (@lebcit)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13877785)
 * Hello [@amarudare](https://wordpress.org/support/users/amarudare/)
 * I’ve rewritten the main js file without jQuery only vanilla JS and everything
   is working great. Thanks for pointing that out. I’ll upload the update in one
   or two days (I’m removing as much jQuery as i can for now).
 * Thanks again for using FSMS.
 * SYA,
    LebCit
 *  Thread Starter [WP_User](https://wordpress.org/support/users/amarudare/)
 * (@amarudare)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13880223)
 * Awesome. That would be great. Getting rid of jquery will make the plugin faster
   and reduce conflicts with themes and plugins.
 * Good stuff 👍.
 * Another suggestion would be the option of displaying selected columns. For eg
   someone would not be using tags. An option of popular posts could be nice.
 * Thanks again.
 *  Plugin Author [LebCit](https://wordpress.org/support/users/lebcit/)
 * (@lebcit)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13884926)
 * Hello [@amarudare](https://wordpress.org/support/users/amarudare/)
 * The plugin has been updated, try it and let me know if you still have any issue.
 * Please consider leaving a review.
 * I’ll try to integrate your suggestion in a future update.
 * Thanks for using FSMS.
 * SYA,
    LebCit
 *  Thread Starter [WP_User](https://wordpress.org/support/users/amarudare/)
 * (@amarudare)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13886074)
 * This has been sorted in the recent update. Newer plugin files are leaner and 
   a free of jQuery so I expect less conflicts with other plugins.
 * Thanks LebCit for the prompt reply and corrections. Good stuff.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘Close function does not work’ is closed to new replies.

 * ![](https://ps.w.org/full-screen-morphing-search/assets/icon.svg?rev=1538331)
 * [Full Screen Morphing Search](https://wordpress.org/plugins/full-screen-morphing-search/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/full-screen-morphing-search/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/full-screen-morphing-search/)
 * [Active Topics](https://wordpress.org/support/plugin/full-screen-morphing-search/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/full-screen-morphing-search/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/full-screen-morphing-search/reviews/)

 * 7 replies
 * 2 participants
 * Last reply from: [WP_User](https://wordpress.org/support/users/amarudare/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/close-function-does-not-work/#post-13886074)
 * Status: resolved