Repository navigation
Conversation
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configuration
📒 Files selected for processing (1)
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review. 📝 WalkthroughWalkthroughTopBarContent now checks ChangesLyrics Plus resize host
Priority: ➖ Normal Estimated code review effort: 1 (Trivial) | ~3 minutes Change: Bug fix Merge Risk: ⚪ Minimal · up to The fallback targets preserve the existing resize-observation path, and no concrete user-visible regression is established. The change appears mergeable with normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Opening Lyrics Plus on Spotify 1.3.3.264 with Spicetify 2.45.3 can crash the entire view with
TypeError: Cannot read properties of null (reading 'clientWidth')inTopBarContent. In the affected layout,.Root__main-viewis absent, so none of the existing resize-host selectors match.Keep the existing selectors as the first choice, then fall back to the main content element and finally the document root. This gives the width measurement and ResizeObserver a valid element while preserving existing behavior on older layouts.
Related historical report: #2381. This reproduces the same exception on the current Windows client; the issue is already closed.
Validation:
node --check CustomApps/lyrics-plus/TabBar.jsandgit diff --checkpass.Summary by CodeRabbit