Why does my controller stop working in GTA V after opening Steam overlay?

Happens the same to me but i found the solution: When you are at the Steam overlay just go back to the first menu, and don't leave any other screen open. Then it will work again.

Seems to be some unsovled bugs with the Steam overlay.

Hope it helps :)