When I was playing minecraft it was normal the first time.But suddenly I can;t sprint and attack at the same time.When sprint and click at the same time,it places blocks instead of attacking.
Linked issues
Comments

This is not the same issue I can place blocks but can't attack.
While I sprint + click=left I should be able to attack but instaed
I am placing blocks.I already searched that was not the same case.
Yes, that's what the report I linked is about. Attacking = breaking blocks.
Thank you for your report!
However, this issue is a Duplicate of MC-59810.
It has been linked to this report. If you have additional information, please add it to that report.
Please search before reporting, as it's likely that one exists already.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – 📖 Game Wiki