-
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
[CP Staging] Fix issues with scrollbar and status bar color #32672
[CP Staging] Fix issues with scrollbar and status bar color #32672
Conversation
- :root {
- color-scheme: dark !important;
- } Seems like another regression from above change: #32685 |
@chrispader can we revert these as part of this PR and address any native issues with the wrapper as well? |
Another one: #32695 |
@situchan since you've been on top of these issues, mind I add you as C+? |
sure thanks. will review once ready for review |
Yeah, let's fix all scrollbar-related issues here which has the same root cause. Please add all to the issue list in the OP. |
@parasharrajat shall I add you as C+ as well? |
I think its fine. One C+ is sufficient for this task. Please let me know if you need more eyes then I can help. |
These minor issues are all related to the same root cause for tracking: |
Can you please complete checklist, link fixed issues correctly and fix lint? |
done 👍 |
reviewing |
#32657 requires native code changes. Is it supposted to fix here? |
I created an issue for the IOS issue discussed: #33037 |
Please add all the cases fixed here in QA Steps |
Please pull main as #21669 is merged |
Not sure if this should be fixed here or out of scope, but some parts are not applied real time when change system theme Otherwise looks good! Screen.Recording.2023-12-14.at.10.16.43.AM.mov |
This maybe also related to native theme change in #33037. Btw out of scope Keyboard theme should stick to app theme, not device theme keyboard.mov |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid.movAndroid: mWeb Chromemchrome.moviOS: Nativeios.moviOS: mWeb Safarimsafari.movMacOS: Chrome / Safariweb.movMacOS: Desktopdesktop.movdesktop-resize.mov |
yea, we can work on this in a follow-up PR |
I can only set this on IOS through the Afaik, there is no official way to set the keyboard theme on Android, since Android allows "soft keyboards" and there technically is no protocol or system keyboard, just custom or preinstalled ones. https://stackoverflow.com/a/39705139/5774312 We might be able to somehow natively change the keyboard theme, but developers of custom keyboards might still ignore it, so idk if we really want to pursue this |
@situchan @chrispader I wonder if other react native apps with dark/light mode handle this (i.e discord) Is it worth creating an issue for this? |
@chrispader before I merge, could you add QA steps? |
Not worth |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
…ar-colors Fix issues with scrollbar and status bar color (cherry picked from commit b4d1777)
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.4.13-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Cherry-picked to staging by https://github.com/luacmartins in version: 1.4.13-2 🚀
@Expensify/applauseleads please QA this PR and check it off on the deploy checklist if it passes. |
🚀 Deployed to production by https://github.com/jasperhuangg in version: 1.4.13-8 🚀
|
Coming from #33674, where the status bar style wasn't correctly updating on initial app launch. This is due to setting the initial state of the status bar here:
But the status bar color isn't updated via |
@grgia
Details
Fixes multiple issues with status bar, color scheme and web background after theme switching, e.g. emoji/mention selection on Windows web.
Fixed Issues
$ #32591
$ #32695
$ #32657
PROPOSAL:
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodWaiting for Copy
label for a copy review on the original GH to get the correct copy.STYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop