I've added an onDragStart handler to one of the options in a React Autocomplete component but it doesn't fire when dragging with the mouse. Here's a live demo: https://codesandbox.io/s/material-demo-forked-z2093?file=/demo.js
The relevant piece of code:
renderOption={(option) => (
<React.Fragment>
<div
draggable="true"
onClick={(evt) => console.log("click")}
onDragStart={(evt) => console.log("dragstart")}
>
<span>{countryToFlag(option.code)}</span>
{option.label} ({option.code}) +{option.phone}
</div>
</React.Fragment>
)}
I added the onClick handler as a point of reference to show that some events are firing. Any ideas on how I can get onDragStart to do something when the dropdown is opened and I start dragging one of the options (countries in the example above)?