The bug: When assigning the attack/destroy key or the use item/place blocks key to a key from a keyboard instead of a mouse, it rapidly repeats that action if held.
Steps to reproduce:
Go to the key binds menu and assign the attack/destroy key or the use item/place blocks key to a key on the keyboard.
Hold down the assigned key and observe the rapid repetition of the action.
Expected behavior: The action should not repeat itself when the assigned key is held down.
Actual behavior: The action rapidly repeats itself when the assigned key is held down.
Thank you for your report!
We're tracking this issue in MC-118107, so this ticket is being resolved and linked 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 to see if the issue has already been mentioned.
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki