Right-clicking with an an amor piece will replace the current armor instead of swapping it out. Swapping armor in the inventory works as normal. This affects any armor slot and with any wearable item, including elytras. This does not occur when the player is wearing an armor piece with Curse of Binding, or when attempting to swap with armor that has the same data (same enchantments, durability, etc.).
Thank you for your report!
We're tracking this issue in MC-275755, 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 (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki