Chakra UI drawer opening and closing when I type in a form field

I have a form inside of the drawer. Any time I type in a field, the drawer closes and reopens really quick.

I’ve tried moving components around and putting the drawer in a portal tag, but still not luck.