This is a read-only archive of the Framer Community on Facebook.

What is Framer? Join the Community
Return to index
Sergey Voronov
Posted Aug 04 - Read on Facebook

any ideas how to fix transparent background of device?
working with motorola 360 custom device, at moment I change something here Screen.backgroundColor="rgba(255,255,255,0)", device background becomes transparent, if i click save or share - it goes black automatically


Joey Lamelas

In order for the mask to clip the layer, set the parent of sensorAndGlassReflection to mask.

Jonas Treub

The weird behaviour is caused by the device running in a different "context". Only the screen content is re-rendered when you type. By using the following line of code you don't need the circular mask layer:
Framer.Device.screen.borderRadius = "50%"

Read the entire post on Facebook