If you rub in the hand sanitizer in fully, and the alcohol evaporates, it shouldn’t be an issue. I think it’s whatever else is in hand sanitizer that leaves a residue but it may not necessarily destroy or damage the canvas if you wipe off.
I used two hand sanitizers on a vintage Recital (small bag, on the back, so not really concern if it gets damaged).
First photo is a collage showing the bag before (top), with hand sanitizer (middle) and after (bottom). I tested with a homemade spray hand sanitizer with 70% isopropyl alcohol (rest is aloe gel). I let it sit for a few seconds (same time for you to realize you got hand sanitizer on your bag) and then wiped off with a tissue. No damage left behind.
Second photo is a commercial gel hand sanitizer that is 60-80% ethyl alcohol. Again, I let it sit for about 10 seconds, long enough to take this photo and to grab a paper towel from the kitchen, and also no damage.
Acetone I’m sure would cause damage, but I personally am not worried about alcohol based hand sanitizers on canvas. Leather, yes. Canvas, no - as long as you’re careful and wipe it off if any does get on your bag.