When pressing the sprint key while in a boat, it makes you go faster. However when you exit the boat, still holding the sprint key and moving in the boat, your items don't work. You can't hit mobs, place blocks, or enter boats or minecarts.
Linked issues
duplicates
Attachments
Comments

Thank you for your report!
However, we are already tracking this issue, and this report is a Duplicate of MC-186085.
Please use the search function in the future to prevent duplicate reports.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki