Diamagnetic materials are repelled by magnetic fields because they create an induced magnetic moment in a direction opposite to the applied magnetic field.
However, in a uniform magnetic field, the magnetic force on a diamagnetic object is zero because the net force depends on the gradient of the magnetic field. In a non-uniform field, the object would move toward the region of weaker field.
Since the field is uniform here, the diamagnetic piece experiences no net force, and hence does not move.