diff options
Diffstat (limited to 'node_modules/doiuse/data/features/css-overflow-anchor.js')
| -rw-r--r-- | node_modules/doiuse/data/features/css-overflow-anchor.js | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/node_modules/doiuse/data/features/css-overflow-anchor.js b/node_modules/doiuse/data/features/css-overflow-anchor.js new file mode 100644 index 00000000..6424835a --- /dev/null +++ b/node_modules/doiuse/data/features/css-overflow-anchor.js @@ -0,0 +1,11 @@ +/** + * Changes in DOM elements above the visible region of a scrolling box can result in the page moving while the user is in the middle of consuming the content. By default, the value of `overflow-anchor` is `auto`, it can mitigate this jarring user experience by keeping track of the position of an anchor node and adjusting the scroll offset accordingly + * @see https://caniuse.com/css-overflow-anchor + */ + +/** + * @type {import('../features').Feature} + */ +export default { + 'overflow-anchor': true, +}; |
