-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Remove auto-scrolling behavior when editing split transactions on mobile #5572
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Conversation
✅ Deploy Preview for actualbudget ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Bundle Stats — desktop-clientHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset
View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller
Unchanged
|
Bundle Stats — loot-coreHey there, this message comes from a GitHub action that helps you and reviewers to understand how these changes affect the size of this project's bundle. As this PR is updated, I'll keep you updated on how the bundle size is impacted. Total
Changeset No files were changed View detailed bundle breakdownAdded No assets were added Removed No assets were removed Bigger No assets were bigger Smaller No assets were smaller Unchanged
|
WalkthroughRemoved an effect in packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx that previously auto-scrolled to the first child transaction with amount === 0 when childTransactions changed. No other logic or exports were modified. Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Assessment against linked issues
Suggested reviewers
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
💤 Files with no reviewable changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (6)
✨ Finishing Touches
🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
👋 Hey! I don't know if removing the whole thing is the right move here but I do agree that the behaviour at the moment isn't good when it scrolls away from editing different field. Is there a way that you could change the scroll behaviour to only activate when the new split is added instead of every time it's 0? |
1fc59c7
to
9fdba74
Compare
I think this is already happening without any additional changes needed. Here's a screen recording of my branch build. Does this cover what you are asking? screenrecording.movI think this is covered by the existing usage of actual/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx Lines 792 to 797 in 692ade7
actual/packages/desktop-client/src/components/mobile/transactions/TransactionEdit.jsx Lines 190 to 200 in 692ade7
|
Fixes #5560
Removed a hook that caused undesired scrolling when editing a split transaction.