When you're on a boat, if you let off of the forward button for just a millisecond and use hold right click to use what ever item you have in your hand then move forward the item is still being used. This allows the player to let off of W for just matter of milliseconds and use the bow, eat, use potions, etc..
Thank you for your report!
We're tracking this issue in MC-152549, 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 in the future to see if the issue has already been reported.
Quick Links:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki