isVar For Image Position

Hi,

I have recently tried making an image position parameter isVar.

"position" : {
            "label"   : "Position",
            "type"    : "text",
            "initial" : "50% 50%",
            "isVar"   : true
}

All appears to work in the params, however, no changes occur. Whatever is the desktop or initial setting carries through to all other breakpoints. So, in the screenshot below, despite being on laptop screen breakpoint with the Y axis set to 100%, the Y axis is actually showing at 50% on all screen breakpoints.

2024-05-03_10-56-49

Is it that position is not yet able to handle isVar, or is isVar appearing to be enabled because the parameter is using "type" : "text"? It would be great to be able to set position for each breakpoint.

Many thanks,
Christopher

Yes that currently does not update Position of Fit if using breakpoints. It looks like it outputs a raw style attribute. We’re updating Background layers for 6.5.0 so we can probably add breakpoints to this during the beta. Have a great day.

Thank you!

1 Like