Thanks for reaching out and sorry to hear that you're having trouble in using Eye dropper tool in XD. please try to troubleshoot with below steps and let us know if this helps.
Quit and restart XD. Restart your Mac.Uninstall XD and reinstall it.
We're sorry for the inconvenience. please feel free to update this discussion in case you need further assistance and we will be happy to help