I have question about how to hold a rubber sealing ring in place when closing two halves of an electronic component. I'm trying to assemble a backup controller for my ebike. I want to match up the good front from one controller with the good back from another. There is a rubber seal to go between them.
The problem I'm having is that the seal won't stay in its groove dry. Would it be ok to use something like a bit of Vaseline to hold the ring in place? Maybe something else?