Skip to content

[css-conditional] @container scroll-state(snapped) and snapchanged vs snapchanging #10784

Closed
@lilles

Description

@lilles

There are a few options for when the snap target changes for scroll-state(snapped: ...) queries

  1. Matches same target as the snapchanged event
  2. Matches same target as the snapchanging event
  3. Introduce two different snapped feature names, one for each of (1) and (2)

If we only have a single feature, I assume (2) would be the preferred behavior?

If we decide to have two features, what should their names be? snapped and snapping?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Friday morning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions