Skip to content

Commit d91d5ba

Browse files
committed
chore(Select): remove unused startedOn property from dragSelectRef
1 parent 8f7e282 commit d91d5ba

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/mui-material/src/Select/SelectInput.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,6 @@ const SelectInput = React.forwardRef(function SelectInput(props, ref) {
165165
const [isPointerDown, setIsPointerDown] = React.useState(false);
166166
const dragSelectRef = React.useRef({
167167
isDragging: false,
168-
startedOn: null,
169168
});
170169

171170
React.useImperativeHandle(
@@ -245,7 +244,6 @@ const SelectInput = React.forwardRef(function SelectInput(props, ref) {
245244

246245
// Mark that we've initiated a pointer interaction
247246
setIsPointerDown(true);
248-
dragSelectRef.current.startedOn = displayRef.current;
249247

250248
// Open the menu immediately
251249
update(true, event);

0 commit comments

Comments
 (0)