You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[$250] [Exploratory] wallet-In landscape, input hidden and cursor shifts right after typing. #102562
The hidden input is not App code. It belongs to Plaid's own screen. After you tap Add bank account, the App opens Plaid's native LinkActivity. Plaid's UI renders the country picker and the Regions Bank input, and the App renders nothing (BaseNativePlaidLink.tsx:17-37 returns null).
Plaid locks LinkActivity to portrait because it doesn't support landscape. The App removes that lock in MainApplication.kt:51-58. Fix White page is shown instead plaid in landscape added that change. As a result, Plaid's UI draws in landscape, the keyboard covers its input, and the cursor jumps inside Plaid's field.
What changes do you think we should make in order to solve the problem?
On phones, bring back Plaid's portrait lock:
In MainApplication.kt, apply the SCREEN_ORIENTATION_UNSPECIFIED override only on tablets (for example, smallestScreenWidthDp >= 600). On phones, let Plaid keep portrait, as Plaid designed.
Add android:windowSoftInputMode="adjustResize" to the LinkActivity manifest entry. This might scroll Plaid's field above the keyboard, but it's unverified and probably won't fix the cursor jump.
Leave it as is and report it to Plaid. Landscape support in Link is Plaid's responsibility, and this issue has the Not a priority label.
The App has no country step here. "United States" comes from Plaid's picker.
Open question: if Regions Bank uses OAuth, the input may be on Regions' page in a Custom Tab rather than in Plaid's pane. Either way, the input is third-party.
I didn't reproduce this on a device. This run could only test on web, and the bug is specific to Android in landscape.
Next Steps for Contributor+ team: To accept:@MelvinBot implement [this](https://github.com/Expensify/App/issues/102562) to create a draft PR. To refine:@MelvinBot <your feedback> To reject: Explain why you are rejecting Melvin's proposal.
changed the title [-][Exploratory] wallet-In landscape, input hidden and cursor shifts right after typing.[/-][+][$175] [Exploratory] wallet-In landscape, input hidden and cursor shifts right after typing.[/+]on Sep 29, 2026
The white page happened when Plaid forced portrait while the phone was in landscape. Bringing the lock back on phones brings that forced rotation back.
In theory, configChanges alone could stop the white page. But the PR author, GCyganek, said the override was "the only working solution" they found.
I suggest you keep the override and fix this bug another way, for example with windowSoftInputMode="adjustResize" on LinkActivity. If you do restore the lock, rerun the steps from Bank - White page is shown instead plaid in landscape on an Android phone first.
What I couldn't verify
I couldn't test this on Android. This run only supports web.
Plaid's Android SDK is closed source, so I couldn't confirm whether configChanges alone keeps LinkActivity alive through the forced rotation.
Activity
applause-bot commentedon Sep 29, 2026
While Applause doesn't embed attachments for this bug, here are the links for quick view:
https://platform.applause.com/services/links/v1/external/1e7ccfd534bfa37873ce498ffaa00b91f5e0312a26b694f54c023d1b08d5cc50
MelvinBot commentedon Sep 29, 2026
Proposal
What is the root cause of that problem?
The hidden input is not App code. It belongs to Plaid's own screen. After you tap Add bank account, the App opens Plaid's native
LinkActivity. Plaid's UI renders the country picker and the Regions Bank input, and the App renders nothing (BaseNativePlaidLink.tsx:17-37returnsnull).Plaid locks
LinkActivityto portrait because it doesn't support landscape. The App removes that lock inMainApplication.kt:51-58. Fix White page is shown instead plaid in landscape added that change. As a result, Plaid's UI draws in landscape, the keyboard covers its input, and the cursor jumps inside Plaid's field.What changes do you think we should make in order to solve the problem?
On phones, bring back Plaid's portrait lock:
MainApplication.kt, apply theSCREEN_ORIENTATION_UNSPECIFIEDoverride only on tablets (for example,smallestScreenWidthDp >= 600). On phones, let Plaid keep portrait, as Plaid designed.configChangeson theLinkActivityentry inAndroidManifest.xml:169-173. Retest rotation so the white-page bug from Fix White page is shown instead plaid in landscape #87752 doesn't come back.What alternative solutions did you explore? (Optional)
disableFullscreenUIto the input. This won't work because the field isn't an AppTextInput. App inputs already set it (BaseTextInput/implementation/index.native.tsx:450).android:windowSoftInputMode="adjustResize"to theLinkActivitymanifest entry. This might scroll Plaid's field above the keyboard, but it's unverified and probably won't fix the cursor jump.Not a prioritylabel.Investigation details
WalletPage→EnablePayments→AddBankAccount/SetupMethod→PlaidStep→AddPlaidBankAccount→PlaidLink(Android) →BaseNativePlaidLink→react-native-plaid-link-sdkopen()→ PlaidLinkActivity.Possibly related:
Next Steps for Contributor+ team:
To accept:
@MelvinBot implement [this](https://github.com/Expensify/App/issues/102562)to create a draft PR.To refine:
@MelvinBot <your feedback>To reject: Explain why you are rejecting Melvin's proposal.
view run
melvin-bot commentedon Sep 29, 2026
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hoangzinh (
External)[-][Exploratory] wallet-In landscape, input hidden and cursor shifts right after typing.[/-][+][$175] [Exploratory] wallet-In landscape, input hidden and cursor shifts right after typing.[/+]melvin-bot commentedon Sep 29, 2026
Job added to Upwork: https://www.upwork.com/jobs/~022105059890986909757
hoangzinh commentedon Oct 2, 2026
@MelvinBot if we bring back Plaid's portrait lock, will this bug comeback #87752?
MelvinBot commentedon Oct 2, 2026
Probably yes, on phones started in landscape. I'd treat that part of my proposal as unsafe until someone tests it on a real phone.
MainApplication.kt:51-58andconfigChangesonLinkActivityinAndroidManifest.xml:169-173.configChangesalone could stop the white page. But the PR author,GCyganek, said the override was "the only working solution" they found.I suggest you keep the override and fix this bug another way, for example with
windowSoftInputMode="adjustResize"onLinkActivity. If you do restore the lock, rerun the steps from Bank - White page is shown instead plaid in landscape on an Android phone first.What I couldn't verify
configChangesalone keepsLinkActivityalive through the forced rotation.view run
68 remaining items
hoangzinh commentedon Oct 27, 2026
@Uzaifm127, yeah, but I'm waiting 1-2 days to see if there are any objections. After that, I will add the C+ reviewed comment.
melvin-bot commentedon Oct 27, 2026
@hoangzinh this issue is now 4 weeks old, please consider:
Thanks!
mukhrr commentedon Oct 29, 2026
@hoangzinh lets move here pls. thanks!
hoangzinh commentedon Oct 29, 2026
Based on my review here #102562 (comment), @mukhrr's proposal makes sense to me.
Link to his proposal #102562 (comment)
🎀👀🎀 C+ reviewed
melvin-bot commentedon Oct 29, 2026
Triggered auto assignment to @mollfpr, see https://stackoverflow.com/c/expensify/questions/7972 for more details.