Skip to content

Commit 61ed900

Browse files
authored
Merge pull request #31773 from dukenv0307/fix/31147
Prevent disable cursor when on pressing
2 parents f358354 + e6eb4c0 commit 61ed900

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/OptionRow.js

+1
Original file line numberDiff line numberDiff line change
@@ -186,6 +186,7 @@ function OptionRow(props) {
186186
styles.alignItemsCenter,
187187
styles.justifyContentBetween,
188188
styles.sidebarLink,
189+
!props.isDisabled && styles.cursorPointer,
189190
props.shouldDisableRowInnerPadding ? null : styles.sidebarLinkInner,
190191
props.optionIsFocused ? styles.sidebarLinkActive : null,
191192
props.shouldHaveOptionSeparator && styles.borderTop,

0 commit comments

Comments
 (0)