robdy / robdy.io

My personal 📝 notes/blog. 🎯 Focused on PowerShell scripts and Microsoft 365. 🖱 Created using Gatsby JS.
https://robdy.io
MIT License
2 stars 0 forks source link

Progress bar missing on some articles #902

Open robdy opened 1 year ago

robdy commented 1 year ago

For example: https://robdy.io/teams-powershell-datamining-feb-2021/

This is because of clientHeight being 0: https://stackoverflow.com/questions/32438642/clientwidth-and-clientheight-report-zero-while-getboundingclientrect-is-correct

Also to be corrected: scroll bar should start at the beginning of article (offsetTop maybe?)