Problem/Motivation

UIEvent.which is deprecated: https://developer.mozilla.org/en-US/docs/Web/API/UIEvent/which

Proposed resolution

Remove usages of it

Remaining tasks

Issue fork drupal-3355595

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

lauriii created an issue. See original summary.

Version: 10.1.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch, which currently accepts only minor-version allowed changes. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

tom konda made their first commit to this issue’s fork.

tom konda’s picture

Status: Active » Needs work

tom konda’s picture

We discussed this issue as part of Drupal Contribution Day Japan 2025

tom konda’s picture

I investigate \Behat\Mink\Element\NodeElement::keyPress() behavior and this method sends value only legacy keyCode, charCode and which.
I think need to fix keyPress() method on Mink library to work JavaScript code correctly or rewrite test to execute directly JavaScript code within a FunctionalJavaScript like OptionsFieldUIAllowedValuesTest.php at 293-298.

Version: 11.x-dev » main

Drupal core is now using the main branch as the primary development branch. New developments and disruptive changes should now be targeted to the main branch.

Read more in the announcement.