I’ve hit this one just about every time I need to have a long form in a constricted space. Extra divs with classnames like “for_teh_geckos” were the dirty workaround.
Yeah, I encountered the issue a couple months back and went digging around for what the problem was. Imagine my surprise to find it was a firefox-only bug that had been reported years ago