You can add subTarget
to the group. The subtarget object will be added inside target event.
let group = new fabric.Group([circle, rect], {
subTargetCheck: true
});
canvas.on('mouse:down', (event) => {
const { subTargets } = event; // subTargets will include circle object
....
})