fixed #292 enable the allowsSelection property