[Orientation Event] How to block rotate in certain parts of the screen

Forge Component
(3)
Published on 2017-11-22 by José Costa
3 votes
Published on 2017-11-22 by José Costa

Hey, I have a screen with a web block and I want to rotate the screen but I want the web block static. 

Can someone help me?

Diogo Teixeira wrote:

Hey, I have a screen with a web block and I want to rotate the screen but I want the web block static. 

Can someone help me?

Hi Diogo Teixeira. That component will rotate the screen target to portrait or landscape orientation, which means that the content of that screen will also rotate. I didn't understant why you want that web block to stay static, can you elaborate? 

But what i could sugest you is to try manipulate the web block content by deteting the orientation of the screen, and overwrite the orientataion of that particular web block with css, (transforming property), Don't know for sure if will work but you can try :)


You can check Transform Property here: https://www.w3schools.com/cssref/css3_pr_transform.asp


Best Regards,

Soraia Branca