-
Notifications
You must be signed in to change notification settings - Fork 3k
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
[$250] mWeb - Workspace - Long pressing workspace name, 2 selection handlers are not shown below the text #55953
Comments
Triggered auto assignment to @anmurali ( |
@anmurali Eep! 4 days overdue now. Issues have feelings too... |
Job added to Upwork: https://www.upwork.com/jobs/~021886917200214989968 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @ikevin127 ( |
♻ I tested on both staging / dev and can't reproduce. Tested on a Pixel 6 Emulator using Chrome mWeb browser. Android: mWeb Chromeandroid-mweb.webmThis might be device specific / OS related given that it was tested on an older version of Android OS (13, current being 15):
Given this, I'd ask QA to test on multiple devices with latest available Android OS update installed and report on whether it's consistently reproducible it's consistent on all devices - otherwise I'd close as device specific / OS related and NAB coming from E/App. cc @anmurali |
@anmurali, @ikevin127 Huh... This is 4 days overdue. Who can take care of this? |
Not overdue, callback to #55953 (comment) for re-testing since I wasn't able to reproduce and I assume that's also why we didn't get any proposal yet. |
@ikevin127 This is reproducible on Android 15 and Samsung S25 Ultra in BrowserStack.
I think it's because the emulator comes with an old Chrome version. I suspect this is a Chrome bug introduced in recent months. Screen.Recording.2025-02-11.at.12.39.24.PM.mov |
@QichenZhu 💯 I think you're right on the money with this one, on a quick search I just found the same exact issue posted in Chromium: reproduced with:
meaning anyone with a Chrome version equal or newer than Note: I just up-voted as
|
@ikevin127 Thank you so much for looking into this. I’ve noticed we usually work around bugs that we can't fix in root, like this Chrome bug and the workaround. If possible, I’d suggest leaving this open for a while if we can find an easy workaround. cc @anmurali |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
@QichenZhu Sure, no problem! I have nothing against keeping the issue
|
@ikevin127 Yeah, fixing it upstream is challenging, and even if we fix it, we can't guarantee users will update to the latest browser version. However, the issue isn’t as obvious on other websites as it is in our app. For example, the search bars on Google and GitHub work fine, and this demo does too. So there are probably ways to avoid it or at least make it less of a problem. |
This comment has been minimized.
This comment has been minimized.
♻ Upon further investigating, I discovered a workaround: our With 🗒 The Note: 🔄 Workaround drawbacks
@QichenZhu Based on this, if you want to write-up a formal proposal to implement this workaround feel free to do so and we'll see what CME has to say about this workaround and its drawbacks once assigned. If you're not interested, let me know and I'll post this on Slack to look for a volunteer. |
ProposalPlease re-state the problem that we are trying to solve in this issue.Recent versions of Android Chrome don't show selection handles in the workspace name input. What is the root cause of that problem?The root cause is in Chromium as mentioned in @ikevin127's comment. Upstream issue link: Text selection handles not present on text input field. This affects recent Android Chrome versions but does not affect 126.0.6463.0 or earlier. What changes do you think we should make in order to solve the problem?
import {isMobileChrome} from '@libs/Browser';
type={isMobileChrome() ? 'markdown' : 'default'}
parser={() => []} What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?Not needed, as this issue comes from the browser, not from the logic of our app. What alternative solutions did you explore? (Optional)
import { isMobileChrome } from '@libs/Browser'; App/src/components/TextInput/index.tsx Line 14 in 628a915
const isSingleLineInput = (!props.type || props.type === 'default') && (!props.inputMode || props.inputMode === 'text') && !props.multiline;
const mobileChromeWorkaround = isMobileChrome() && isSingleLineInput ? {
type: 'markdown',
parser: () => [],
} as const : {}; App/src/components/TextInput/index.tsx Line 76 in 628a915
import {isMobileChrome} from '@libs/Browser'; Lines 1254 to 1262 in 628a915
...(isMobileChrome() ? {
marginTop: 23,
marginBottom: 8,
paddingTop: 0,
paddingBottom: 0,
paddingRight: 1,
position: 'sticky',
left: 0,
} : {}),
} |
@anmurali @ikevin127 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks! |
If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!
Version Number: V9.0.91-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
Email or phone of affected tester (no customers): N/A
Issue reported by: Applause Internal Team
Device used: Redmi note 10s android 13
App Component: Workspace Settings
Action Performed:
Expected Result:
Long pressing workspace name, 2 selection handlers must be shown below the text.
Actual Result:
Long pressing workspace name, 2 selection handlers are not shown below the text.
Workaround:
Unknown
Platforms:
Screenshots/Videos
bug.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @ikevin127The text was updated successfully, but these errors were encountered: