If you change the key biding for Use Item (default is Right Click, or Button 2), it works in every place. Except on the crafting table. This is not something that people change often, but there should be an expected behavior.
Related issues
Comments

Duplicate of MC-577.