File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -1426,6 +1426,13 @@ or of its nearest [=scroll container=] ancestor if it isn't.
1426
1426
Note: The ''spatial-navigation-ation/scroll'' value is <a>at-risk</a> .
1427
1427
</dl>
1428
1428
1429
+ Note: Earlier version of this specification did not offer a declarative way
1430
+ to opt into the behavior defined by ''spatial-navigation-action/focus'' ,
1431
+ and instead offered a cancellable event that would be fired before scrolling,
1432
+ so that authors could implement that behavior themselves.
1433
+ However, cancellable events related to scrolling can cause performance problems,
1434
+ so this event was removed and the 'spatial-navigation-action' property was introduced instead.
1435
+
1429
1436
<div class=example>
1430
1437
In this example, a scrollable container is specified with <code highlight=css> spatial-navigation-action: focus</code> .
1431
1438
Inside the container, there is an element which is out of the view within a <a>scrollport</a> .
You can’t perform that action at this time.
0 commit comments