Car stalling at idle after topping it off.

Stalling has nothing to do with tank fill up.
It could if it wasn’t vented. Or if a vent has recently become clogged or vent line collapsed etc…