I've tried to set position to fixed to a Flex container, but Perspective was unable to obtain view config for it's child elements.
After this exception was raised, view couldn't be modified and embedded JxBrowser is not rendering anything until the view is manually closed.
Ironically, if position fixed was set to a component, everything behaved as expected. Only if position fixed is set to a container, Perspective cannot find view config for child elements.
I thought this is only an issue on company's instance of Ignition (maybe due to bad or corrupted config I guess), but I tried the exact same thing on my local Docker Ignition instance and this issue is the same even there.
Thanks in advance for any suggestion and help!
1 Like
It's not clear what you did: flex containers don't have a fixed position property.
Can you explain in more details what you did ?
I've simply added CSS style position: fixed to it, because I wanted to have it at the very bottom of the viewport.
Right now I'm bypassing this issue by temporarily disabling position: fixed
style on this container and change what I want in it's child elements. After I'm done with whatever I wanted to change, I set position: fixed back to the flex container.
You should probably be using a coordinate container then, and use its built-in position properties.
You CAN put a flex container in a coordinate container, and then it will have those properties. They don't depend on the element itself, but on what it's been put into.
edit:
note that I just tried setting position: fixed
on a flex container IN a flex container, and it works just fine.
That will be the case for simple application, but since this container is not a root and is part of a bigger application containing other elements, flex containers etc, it will not scale and most importantly, coordinate container will not fix this issue at all if you want to exactly use a flex container and want it's elements to wrap.
I've set it to a parent container.
Something like this:
- Flex container - css position fixed
- any component
- any component
If you click on any component inside it, it will raise an exception

Edit: It will not raise right away, but if you try to merge any new change from the gateway, it will raise this exception.
If it is repeatable, then you should file a proper bug ticket with support.
I already did. It seems definitely like a bug.
1 Like
Yep getting the same thing. Setting a parent container to Position: Fixed causes the Ignition Designer to crash when opening any of the child containers.