#happycamper_94472

1 messages · Page 1 of 1 (latest)

shut peakBOT
grave latch
#

Hello!

carmine sluice
#

I'm attaching the following screenshots to illustrate what I'm trying to implement:

#

And this is what it looks like when there is only one method:

#

Hi!

grave latch
#

Hmm... I think previously we used to allow you to collapse the payment element when there was only one payment method type, but we changed the behavior because the element would disappear entirely

#

Right now I don't think we offer a way to just collapse if there's just one - it would be a feature reqeust to change this

carmine sluice
#

I see, I could totally see it making the entire element disappear in the tabs layout. But in the accordion layout, ideally we could collapse the details section and leave the payment method header rendered

#

Sounds like it's a feature request regardless

#

Would it be possible to attempt to manually collapse the element by targeting the html element in the iframe?