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:
Unlock all recipes by using the command provided below.
/recipe give @s *Switch to survival mode, open your inventory, open the recipe book, and type "planks" into its search field.
Click on the planks recipe twice.
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.