-
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
fix: Task - Pointer shows up for an archived task when hovering over the edge of the checkbox. #37260
fix: Task - Pointer shows up for an archived task when hovering over the edge of the checkbox. #37260
Conversation
…the edge of the checkbox. Signed-off-by: Krishna Gupta <[email protected]>
Out sick today 🤒, will review this PR in 12 hours. |
@ntdiary, hope you feel better soon! |
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 <[email protected]>
@ntdiary, can you pls check the changes once again? Thanks |
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 |
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.
LGTM. :)
conflicts! |
Conflict resolved. |
🚀 Deployed to staging by https://github.com/jasperhuangg in version: 1.4.48-0 🚀
|
🚀 Deployed to production by https://github.com/roryabraham in version: 1.4.48-0 🚀
|
Details
Fixed Issues
$ #37236
PROPOSAL: #37236 (comment)
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)Design
label so the design team can review the changes.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_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