Page.props.dimensions values are zero in the designer environment

I just wonder why page.props.dimensions all dimension values are zero in the designer environment. But in runtime, they have correct values.
This causes the designing process in the designer to be very hard with the wrong values.
I test this 8.1.6.

Because the Designer has no concept of a “Page”. The Designer ONLY deals with Views. This is why you can’t do navigation in the Designer, and why page.props.path always resolves to the view path of the view in use.

1 Like