-
Notifications
You must be signed in to change notification settings - Fork 162
Fix selection highlight regression in RNTester list #660
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
Fix selection highlight regression in RNTester list #660
Conversation
alloy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice 👌
As for dark theme, that's a larger work item that applies to all of RNTester and should probably start upstream. If you’re up for that do please have a go at it 🙏
| <View | ||
| style={[ | ||
| rowStyle, // TODO(macOS ISS#2323203) | ||
| {backgroundColor: theme.SystemBackgroundColor}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So are the right colours brought in by theme.SystemBackgroundColor?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The list has properly being changed when switching dark mode on/off so I guess so? Because it worked as expected to me, I didn't really investigated what's under theme.SystemBackgroundColor really
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fair enough 👍
|
I’m re-running the failed CI task. |
alloy
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aight, all green. Thanks for your contribution, @thymikee! 🥇
|
@chrisglein Ooh, I see the bot propagates labels from the issue that a PR fixes; nifty! However, seeing as this only applies to RNTester I don’t think there’s a real need to backport this, or do you think differently? EDIT: I realise that the determination that this only applies to RNTester came after filing the issue. Had it been a different underlying cause then it would have totally made sense to backport, but seeing as that’s not the case I think we’re in alignment in this not needing backporting work at this time. |
|
Thanks for reviewing this so quickly! Nice contributing experience 😊 |
Please select one of the following
Summary
Wanted to tackle #605 which was described as a regression likely when merging upstream virtualized lists changes. However, as I tested this through it turned out that it's the styling override that's to blame, not the actual functionality, which seem to work as intended.
Fixes #605
Changelog
[macOS] [Fixed] - Fix selection highlight regression in RNTester list
Test Plan
This color doesn't look great in dark mode tho. But I didn't want to diverge too much from the original RNTester. Suggestions welcome.
Microsoft Reviewers: Open in CodeFlow