Bottom sheet does not adapt to screen rotation after presenting NFC Reader session

Hello I am implementing an NFC Reader session in my app, and presenting the bottom sheet works completely fine.

However, I am facing an issue with screen rotation. If I rotate the device while the NFC bottom sheet is active, the sheet does not adapt or resize according to the new screen orientation.

Is there a way to force the NFC bottom sheet to update its layout or fix this rotation issue?Any help or workarounds would be greatly appreciated.

Thanks!

Answered by Engineer in 887791022