fix: keep selected note visible during keyboard navigation#85
fix: keep selected note visible during keyboard navigation#85n00ki wants to merge 1 commit intoerictli:mainfrom
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughAdded an effect hook to NoteList that automatically scrolls the currently selected note into view with smooth scrolling behavior whenever Changes
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
scrollIntoView({ block: "nearest", behavior: "smooth" })so the scroll is minimal (no movement when the item is already in view) and animateddata-attributewrapper +useEffect+scrollIntoViewpattern used by the command paletteSummary by CodeRabbit