Web Payments SDK bug?

When rendering the Web Payments SDK in a hidden element the payment form comes out at approx double height.

Any suggestions on correcting this?

Screen shot of simple example rendered in a hidden element (display:none).


You can use card.recalculateSize to fix this issue:

Thanks that works nicely :slight_smile:

I am using angular 15, recalculateSize is not working. I am using angular detectChanges function also.