When using levitation on a player, if the player takes damage it causes the player to be launches high in the air. This affect is commonly seen when using levitation effects to grant slow fall or no fall. Most common in levitation over 200. This makes it extremely hard to use levitation in custom maps as there is no way to prevent this affect. This is probably due to an issue with knockback and levitation interacting peculiarly.
Related issues
Comments

Thank you for your report!
We're tracking this issue in MC-10755, 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:
📓 Issue Guidelines – 💬 Community Support – 📧 Customer Support – ✍️ Feedback and Suggestions – 📖 Game Wiki
-- I am a bot. This action was performed automagically! Please report any issues in Discord or Reddit