-
Notifications
You must be signed in to change notification settings - Fork 4
Description
Hey,
in the explainer it says:
developers will be able to infer the number of hinges available as well as the hinge orientation
I have tried out the polyfill. Now I am wondering how the developer is able to infer which segments are safe to use.
From my understanding the polyfill tries to emulate a dual screen device when foldSize = 0. Nevertheless it still returns three segments. The second one has a width of 0.
When the foldSize is > 0 I think the polyfill is emulating a foldable device with a single screen where one might be interested to know where the fold is to not place critical content there even though there is screen space available, but in some postures of the device not well visible.
Is the proposal meant to only return two segments when there is a hinge just like in this picture?
Also, will the segments be in any order. Or should a devloper pick the segment they want to place content at based on the size of the segment? So for a foldable device I assume the hinge is the smallest segment which is why I place the least relevant content on the smallest segment.

