I have bears too. Ammonia sprayed on the garbage solves cleaning a mess.
I was reading that they don’t like pine sol or pine cleaners, so told her to try putting a papertowel with soaked in pine sol on the top of the garbage. ??