Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredGet Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi everyone,
I'm developing a custom visual in Power BI and would like to display a dropdown menu (or a div) outside the frame of the visual, as shown in the attached image. I've tried a few approaches, but I haven't been successful so far. Has anyone done this before and can guide me on how to achieve it? I'm using the Power BI Visuals API for development. Any help would be greatly appreciated!
Thanks
Solved! Go to Solution.
Hi @DavidAnthony,
If you're using a rich component that requires custom HTML and JS behaviors, then these are clipped by the iframe sandbox, and you need to size the visual accordingly to make space for them.
Sandboxed iframes are a little more forgiving with native HTML form elements like <select/>, and these can overflow the container boundaries, e.g.:
The downsides are that native HTML elements are limited in their styling and functionality, which is why many alternatives exist. Modern browsers have since worked to improve the styling options which can help if your reasons and some UI frameworks have some nice component wrappers for the native select element (e.g., Fluent UI).
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Hi @DavidAnthony,
If you're using a rich component that requires custom HTML and JS behaviors, then these are clipped by the iframe sandbox, and you need to size the visual accordingly to make space for them.
Sandboxed iframes are a little more forgiving with native HTML form elements like <select/>, and these can overflow the container boundaries, e.g.:
The downsides are that native HTML elements are limited in their styling and functionality, which is why many alternatives exist. Modern browsers have since worked to improve the styling options which can help if your reasons and some UI frameworks have some nice component wrappers for the native select element (e.g., Fluent UI).
Regards,
Daniel
Proud to be a Super User!
On how to ask a technical question, if you really want an answer (courtesy of SQLBI)
Really thanks for your help
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
Check out the October 2025 Power BI update to learn about new features.