#Isaac Fraire

1 messages · Page 1 of 1 (latest)

lethal boughBOT
strange otter
#

Welcome! I will check in to if we have a setting for that.

#

The element will automatically resize with your page though if that is the specific worry here.

#

Are you trying to resize it manually or always lock it to a certain form of the element?

#

It actually looks like on the page we just resize the demo iframe between two widths depending on what you choose. 320px for mobile, 510px for Desktop

hasty heron
#

The idea is to change the property (if exists) to change the layout when detects a certain size (I will handle that) I'm just looking at the property to change the appearance in the form.

#

So... As you can see in the example you can change de form, the question is... how can we do that? Is an elements property?

#

I was looking through the interfaces but I cannot found it

strange otter
#

I think the idea is to change the size of the DOM node that you are mounting the payment element on to

#

Double checking to see if elements itself has this

hasty heron
#

So... the example that I mentioned before is a custom feature? I need to create special css rules to change the form and adapt to mobile screens.?

#

let me know if we can have a quick call please 🙂

strange otter
#

We don't do calls on this server but we should be able to figure this out. I am still looking but it doesn't look like it is a custom feature, it would be resizing the DOM node in your code

#

DOM node sounds too technical and low down, you can also do this with whatever react node you are using as far as I know

hasty heron
#

I tried that but nothing happens (resize windows).

#

Please, let me know if yo can figure how to change the form, this is very important to still using Stripe in our site

strange otter
#

Is the window resizing but the element stays the same?

lethal boughBOT