fix: Task - Pointer shows up for an archived task when hovering over the edge of the checkbox.#37260
Merged
jasperhuangg merged 4 commits intoExpensify:mainfrom Mar 5, 2024
Merged
Conversation
…the edge of the checkbox. Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Contributor
|
Out sick today 🤒, will review this PR in 12 hours. |
Contributor
Author
|
@ntdiary, hope you feel better soon! |
Contributor
|
Line 932 in 3e74ddf @Krishna2323, we added the above line of code to solve the cursor style of test.mp4We can fix them in this way: diff --git a/src/components/SelectionList/BaseListItem.tsx b/src/components/SelectionList/BaseListItem.tsx
index 2f853dc558..96c493be9d 100644
--- a/src/components/SelectionList/BaseListItem.tsx
+++ b/src/components/SelectionList/BaseListItem.tsx
@@ -68,7 +68,7 @@ function BaseListItem<TItem extends ListItem>({
{canSelectMultiple && (
<View
role={CONST.ROLE.BUTTON}
- style={StyleUtils.getCheckboxPressableStyle()}
+ style={[styles.cursorUnset, StyleUtils.getCheckboxPressableStyle()]}
>
<View style={selectMultipleStyle}>
{item.isSelected && (
diff --git a/src/styles/utils/index.ts b/src/styles/utils/index.ts
index 72719e4795..a2949d8b4d 100644
--- a/src/styles/utils/index.ts
+++ b/src/styles/utils/index.ts
@@ -929,7 +929,6 @@ function getCheckboxPressableStyle(borderRadius = 6): ViewStyle {
alignItems: 'center',
// eslint-disable-next-line object-shorthand
borderRadius: borderRadius,
- ...cursor.cursorPointer,
};
} |
Signed-off-by: Krishna Gupta <belivethatkg@gmail.com>
Contributor
Author
|
@ntdiary, can you pls check the changes once again? Thanks |
Contributor
Reviewer Checklist
Screenshots/VideosAndroid: Native37260-android-native.mp4Android: mWeb Chrome37260-android-chrome.mp4iOS: Native37260-ios-native.mp4iOS: mWeb Safari37260-ios-safari.mp4MacOS: Chrome / Safari37260-web.mp4MacOS: Desktop37260-desktop.mp4 |
jasperhuangg
previously approved these changes
Mar 1, 2024
Contributor
|
conflicts! |
Contributor
Author
|
Conflict resolved. |
jasperhuangg
approved these changes
Mar 5, 2024
63 tasks
Contributor
|
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.48-0 🚀
|
6 tasks
Contributor
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
Fixed Issues
$ #37236
PROPOSAL: #37236 (comment)
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel so the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Android: Native
android_native.mp4
Android: mWeb Chrome
android_chrome.mp4
iOS: Native
ios_native.mp4
iOS: mWeb Safari
ios_safari.mp4
MacOS: Chrome / Safari
web_chrome.mp4
MacOS: Desktop
desktop_app.mp4