For anyone else coming here with this problem, I was also having it starting a couple days ago.
I found that in the Firefox, extension, under Settings, then Options, there is a checkbox for “Copy TOTP Automatically”. For no apparent reason this unchecked itself.
Now it’s working for me again.