Problem/Motivation

I have a search input that is getting negatively affected by the megamenu JS for navigating via keyboard.

Steps to reproduce

Insert a search input into the megamenu dropdown.

Proposed resolution

I am not sure what the best resolution is. For now, I am simply replacing preventDefault() with return when space is pressed so that users can put spaces between their words.

CommentFileSizeAuthor
#2 tb_megamenu-3205940-1.patch369 bytesmirakolous

Comments

Mirakolous created an issue. See original summary.

mirakolous’s picture

StatusFileSize
new369 bytes

Here is the patch that fixes my specific issue, which is that users can't press space inside of the search input.

rbrownell’s picture

Status: Active » Closed (outdated)

Thanks for the report and for contributing to the TB Mega Menu issue queue.

Drupal 7 reached end of life on January 5, 2025 and is no longer supported going forward.

As part of wrapping up Drupal 7 support for this project, issues that do not include a code-based resolution (including issues where the only patch is out of date and requires a re-roll) are being closed as Outdated as part of this cleanup.

This closure reflects the end-of-life status of Drupal 7 and the absence of an up-to-date fix we can act on, not the validity of the issue itself.

If the issue applies to a currently supported version of Drupal, please open a new issue with updated details.

Thanks again to everyone who contributed during Drupal 7’s lifecycle.

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.