Unlike other user interface elements, such as the recipe book button in the survival mode inventory, crafter slots are toggled when the user right-clicks as well as when the user left-clicks. For consistency, I believe the crafter slots should only be toggled if the user left-clicks.
Hi. I'm resolving this ticket as a duplicate of MC-265874 since it's the same issue. I've updated MC-265874 to include that this also occurs when right-clicking.