Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Sign up nowGet Fabric certified for FREE! Don't miss your chance! Learn more
Hi,
I have been developing a custom visual using a HTMLElement object. I have set the <div> to overflow:auto. However, scrollbars do not appear when the content exceeds the iframe bounds. The standard list and matrix custom visuals do exactly what I want but there is no repo for those so I can't learn from that code.
Could anyone please advise how to make scrollbars automatically appear on a custom visual when content exceeds frame size?
Solved! Go to Solution.
Check the solution below.
https://community.powerbi.com/t5/Developer/make-custom-visuals-scrollable/m-p/98115#M3451
Check the solution below.
https://community.powerbi.com/t5/Developer/make-custom-visuals-scrollable/m-p/98115#M3451
Brilliant! Thanks very much @v-chuncz-msft. That has worked beautifully. My problem was that I had put the overflow: auto in my .less file to style the div rather than setting the options on the constructor as you have suggested here.
Hello @Dave0145,
Does div element have minimal sizes? Could you pleaseshare your code to investigate the issue deeper?
Software Engineer
Microsoft Power BI Custom Visuals
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 3 | |
| 2 | |
| 2 |