The item durability bar visually adds a "slice" of durability when the item is held on the cursor.
Steps to reproduce
/give @s diamond_sword 1 1
Look at the durability bar
Click the diamond sword
Observed results
[media]Expected results
The durability bar displays exactly the same.
Notes
This was once blocked by MCPE-105893. If I recall correctly, before that issue, the colour would also change to reflect the visually higher durability. This (colour change) seems to no longer be the case after MCPE-105893 was fixed.
Thank you for your report!
After consideration, the issue is being closed as Working as Intended.
Please note, that mechanics of the game may change between updates.
Things such as graphics, sounds, world creation, biomes, redstone, villagers, and animals may not work the same in current versions.
Full Version History – Snapshot Version History – Feature Requests and Suggestions
Quick Links:
📓 Bug Tracker Guidelines – 💬 Community Support – 📧 Mojang Support (Technical Issues) – 📧 Microsoft Support (Account Issues)
📓 Project Summary – ✍️ Feedback and Suggestions – 📖 Game Wiki