• Hi, whenever I try to do a search for an icon the modal search window closes as soon as I type the letter n (or N). Makes it pretty hard searching for icons with an n in the name.

    As a work-around, I type the term in a text document and then copy/paste it into the search field… Am I the only one encountering this issue?

    WordPress 6.1.1 with Gutenberg, Twenty Twenty-Three and Font Awesome…

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

    (@mlwilkerson)

    Hi @ravanh, I was not able to reproduce this using a clean install of WordPress 6.1.1, the default block editor, Twenty Twenty-Three, and the Font Awesome plugin version 4.3.2. I tried searching with all of the following: nose, Nose, pint, piNt. The modal did not close in any case.

    Are you installing a different version of Gutenberg than is present as the default / built-in block editor in WordPress?

    Perhaps there’s something else about your scenario that is causing this behavior. If you could provide any more details about how I might reproduce it, I could take a closer look.

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi, I’ve found that it only occurs when the Jetpack plugin is active. On a test site with a fresh install of both plugins, the issue does not appear. I’ll have to dig further to determine which Jetpack module is responsible… Will update this ticket if I find out more ??

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Update: it turns out the be the Notifications module in Jetpack.

    With that module activated, a key-press N will close the Font Awesome modal. Turning the Notifications module off, fixes the issue.

    Plugin Author mlwilkerson

    (@mlwilkerson)

    Ok, that sounds like a problem with that Notifications module causing an unintended side effect.

    The Font Awesome modal is implemented as a standard WordPress modal. I’m not sure whether there’s anything I could do to block another plugin like this from causing such an unintended side effect. I went looking for any relevant source about key event handling related to Notifications in the jetpack GitHub repo and didn’t find anything (maybe this is a premium/private module that’s not part of the GitHub repo?) I was hoping to find how they’re handling to the keyUp or keyDown event to see if maybe adding some other CSS class on our modal would avoid whatever key event handler JetPack might be binding to our modal. No luck on my attempt to track that down, though.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Search with “n” closes modal’ is closed to new replies.