Thank you for your support for the Xiaomi product. We apologize for the inconvenience. HDR (High Dynamic Range) mode enhances the details and contrast of photos by synthesizing multiple photos with different exposures. This process requires high computing and image processing capabilities, especially when the light in the shooting environment changes greatly. Rapidly switching cameras will cause conflicts in the system when processing images. This is not a quality issue of the product, you can feel free to use it. Please ensure that your phone is running the latest software version by checking for updates in the settings.
Does it help?