Closed geomaster closed 1 year ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
rc-scrollbars | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jun 12, 2023 1:38pm |
@geomaster thank you!
Without this, the
newPxRatio === pxRatio
check was ineffective, so we were recalculating the scrollbar width from DOM everytime. This causes an element to be needlessly added and removed to the DOM on every re-render.