File tree Expand file tree Collapse file tree 2 files changed +11
-3
lines changed
polaris-react/src/components/IndexTable/components/Row Expand file tree Collapse file tree 2 files changed +11
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' polaris-glints ' : minor
3+ ---
4+
5+ IndexTable checkbox row onmouseleave
Original file line number Diff line number Diff line change @@ -24,7 +24,8 @@ export interface RowProps {
2424 onNavigation ?( id : string ) : void ;
2525 onClick ?( ) : void ;
2626 checkbox ?: React . ReactNode ;
27- onMouseEnterCheckboxCell ?( ) : void ;
27+ onMouseOverCheckboxCell ?( ) : void ;
28+ onMouseLeaveCheckboxCell ?( ) : void ;
2829}
2930
3031export const Row = memo ( function Row ( {
@@ -38,7 +39,8 @@ export const Row = memo(function Row({
3839 onNavigation,
3940 onClick,
4041 checkbox,
41- onMouseEnterCheckboxCell,
42+ onMouseOverCheckboxCell,
43+ onMouseLeaveCheckboxCell,
4244} : RowProps ) {
4345 const { selectable, selectMode, condensed} = useIndexRow ( ) ;
4446 const onSelectionChange = useIndexSelectionChange ( ) ;
@@ -147,7 +149,8 @@ export const Row = memo(function Row({
147149 const checkboxMarkup = selectable ? (
148150 < td
149151 className = "Polaris-IndexTable__TableCell"
150- onMouseEnter = { onMouseEnterCheckboxCell }
152+ onMouseOver = { onMouseOverCheckboxCell }
153+ onMouseLeave = { onMouseLeaveCheckboxCell }
151154 >
152155 { checkbox }
153156 </ td >
You can’t perform that action at this time.
0 commit comments