You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Hey,
in the explainer it says:
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.
The text was updated successfully, but these errors were encountered: