mojira.dev
MC-313320

Recipes in the recipe book lose their keyboard focus when clicked again

The Bug:

Recipes in the recipe book lose their keyboard focus when clicked again.

Clicking a recipe in the recipe book gives it keyboard focus, so pressing Control + Enter shows its other recipes. However, clicking the same recipe or another recipe again leaves it without focus, so Control + Enter does nothing, therefore introducing an inconsistency.

Steps to Reproduce:

  1. Unlock all recipes by using the command provided below.

    /recipe give @s *
  2. Switch to survival mode, open your inventory, open the recipe book, and type "planks" into its search field.

  3. Click on the planks recipe twice.

  4. Press Control + Enter and observe if the other planks recipes are shown.

Observed Behavior:

Recipes in the recipe book lose their keyboard focus when clicked again.

Expected Behavior:

Recipes in the recipe book would keep their keyboard focus when clicked again.

Attachments

Comments 1

Avoma

eowyn36

Confirmed

Platform HC

Low

Accessibility

26.4 Snapshot 10

26.4 Pre-Release 1

Retrieved