When selected in the crafting table, the two top right slots in the inventory cannot be selected. The second from the right slot will highlight and the furthest right one will not, but neither can be selected while using the crafting table.
Once I exited the crafting table, there are no issues with selecting items in my inventory.
Thank you for your report!
We're actually already tracking this issue in MC-143776, so I resolved and linked this ticket as a duplicate.
If you would like to add a vote and any extra information to the main ticket it would be appreciated.
If you haven't already, you might like to make use of the search feature in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki