Cubase 15 score edit: how to slur grace note to its main note?

Sometimes it works, most of the time I give up. Can any one tell me how to reliably slur a single grace note to its main note? I’ve tried overlapping, positioning in key editor etc. I do not want the to change bow direction or have them played staccato: