The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.
Dear all,
I am creating a custom visual which is a dropdown. As I am developing using the Power BI sandbox mode the visual is in an Iframe and therefore impossible to make the dropdown go past its Iframe. Therefore all overflow is hidden.
What is the best way to achive this?
Thanks,
Arnor
Solved! Go to Solution.
Hello @akkadak,
There's no way to go out of sandbox element. I suppose that you should specify a minimum height for the visual in order to be able to open a dropdown.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
In addition, use the CSS overflow property.
Hello @akkadak,
There's no way to go out of sandbox element. I suppose that you should specify a minimum height for the visual in order to be able to open a dropdown.
Ignat Vilesov,
Software Engineer
Microsoft Power BI Custom Visuals
The trick was to adjust the height of the sandbox element to accomodate for the height of the dropdown. Then make the background transparent or remove it all together. Then use custom css styling to "fake" the desired effect.