When you add a detailed view of a cylindrical model from the side, you can put a diameter shown as above on the detailed view.
Hold down “Ctrl” and drag the 22.23 dimension from the parent to detailed view B, and you will see the correct result.
There are some limitations. Tapered cylindrical or curved surfaces won’t work. It needs to be a straight cylinder.
Sometimes the straight cylinder may still give you trouble:
If this is the case, you can modify the detailed view sketch:
Create the 15.82 diameter dimension right on the detailed view.
Modify the detailed view sketch to original size and you will see the correct result!