Skip to content

Conversation

@pecanoro
Copy link
Contributor

@pecanoro pecanoro commented Jan 19, 2026

Reverts #79290

Fixes issues
$ #79849

@pecanoro pecanoro self-assigned this Jan 19, 2026
@pecanoro pecanoro requested review from a team as code owners January 19, 2026 20:26
@melvin-bot melvin-bot bot requested review from joekaufmanexpensify and removed request for a team January 19, 2026 20:26
@pecanoro pecanoro requested a review from Beamanator January 19, 2026 20:27
@melvin-bot melvin-bot bot requested review from mollfpr and removed request for a team January 19, 2026 20:27
@melvin-bot
Copy link

melvin-bot bot commented Jan 19, 2026

@mollfpr Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button]

@pecanoro pecanoro added the CP Staging marks PRs that have been CP'd to staging label Jan 19, 2026
@pecanoro pecanoro changed the title Revert "fix: allow split percentage input selection on web (follow-up)" [CP staging] Revert "fix: allow split percentage input selection on web (follow-up)" Jan 19, 2026
Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: c18280523a

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

}
e.preventDefault();
}}
onMouseDown={(e) => e.preventDefault()}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Avoid canceling focus for child inputs on web

Calling preventDefault() on every mouseDown at the list-item level cancels the browser’s default focus behavior for any descendant input. Inputs used inside list rows (e.g., the split amount/percentage fields) do not stop propagation, so their mousedown bubbles here and the click can no longer focus or select the text, which makes editing those fields on web unreliable. This check was previously scoped to non-input targets, so removing that guard reintroduces the regression.

Useful? React with 👍 / 👎.

@Beamanator Beamanator merged commit e6cc786 into main Jan 19, 2026
32 of 36 checks passed
@Beamanator Beamanator deleted the revert-79290-ikevin127-allowPercentageSelection branch January 19, 2026 20:46
@melvin-bot melvin-bot bot added the Emergency label Jan 19, 2026
@melvin-bot
Copy link

melvin-bot bot commented Jan 19, 2026

@Beamanator looks like this was merged without a test passing. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

@Beamanator
Copy link
Contributor

straight revert, no emergency here

OSBotify pushed a commit that referenced this pull request Jan 19, 2026
…PercentageSelection

[CP staging] Revert "fix: allow split percentage input selection on web (follow-up)"

(cherry picked from commit e6cc786)

(cherry-picked to staging by Beamanator)
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Cherry-picked to staging by https://github.com/Beamanator in version: 9.3.4-6 🚀

platform result
🕸 web 🕸 success ✅
🤖 android 🤖 success ✅
🍎 iOS 🍎 success ✅

@Beamanator
Copy link
Contributor

requested retest 👍

@parasharrajat
Copy link
Member

I don't think this reverted that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CP Staging marks PRs that have been CP'd to staging

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants