Variant inside variant dropdown menu not working

My dropdown menu is not working properly. This is happening only when I nest it into another variant.

Check the video: Loom | Free Screen & Video Recording Software

Does anyone know how can I solve this problem?