Skip to content

[css-viewport-1] Make sure to always return one segment #12088

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

darktears
Copy link
Contributor

When the device is not folded (flat) or it's a regular device always return one segment (typically the size of the viewport). This is to follow developer feedback and consistency with the rest of the platform.

#11957

@darktears
Copy link
Contributor Author

cc @bramus

@darktears darktears requested a review from emilio April 16, 2025 14:49
@zcorpan
Copy link
Member

zcorpan commented Apr 16, 2025

This makes sense to me.

@bramus
Copy link
Contributor

bramus commented Apr 16, 2025

Thanks! Before merging the change I think we do need a resolution on the issue for this, which can be done async.

Copy link
Member

@tabatkins tabatkins left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to say that it still returns an array, containing that single size.

When the device is not folded (flat) or it's a regular device
always return one segment (typically the size of the viewport).
This is to follow developer feedback and consistency with the rest
of the platform.
@darktears
Copy link
Contributor Author

@tabatkins updated the wording, good catch. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants