Installing a dishwasher tub gasket
Installing a dishwasher tub gasket
I’m not very handy, so grain of salt here:
I’m thinking that the gasket you have isn’t the correct part (even if the third party says it is). I would double check the dishwasher model number, ensure you have the right gasket for that, and then order OEM if you were previously correct.
I think if you glue in the gasket, even if it holds, it would likely leak somewhere from not properly fitting.