[csswg-drafts] [css-overflow-5] Active marker in 2d scroller? (#11198)

flackr has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-overflow-5] Active marker in 2d scroller? ==
When you have a group of scroll targets in a scroller that can scroll in multiple directions, how do you determine which one is active?

Options:
1. Declare a single direction to use in some manner. This could be a property on the scrolling container indicating, or on the marker group / pseudo marker group creation. My preference here would be to use something like the `primary-overflow-direction` from #10060.
2. Automatically infer a single direction to use. We could do this until a mechanism for declaring a direction exists / continue to support it with an automatic value. The automatic direction would likely be either the direction with more scrollable overflow.
3. Use both axes of scroll in the determination of the active marker. We could possibly do this by using the distance from the current target scroll position to the marker's aligned positions.

With options 1 and 2, we could use the single direction as the primary direction but still use the secondary direction when the targeted location in the primary direction is the same. E.g. the first step could be determining the active set of markers on the primary direction, then repeat with the secondary direction.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/11198 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 13 November 2024 15:49:46 UTC