Don't expand material details when user tries to select text

[#76892670]