_posFixed now resolves a clamp rect (viewport by default; the nearest containing-block rect when clampToContainer is set) and clamps position, edges, and max-height against it. Fixes popups rendered under an ancestor with transform/filter/contain:layout|paint, where position: fixed resolves against that ancestor and the viewport is the wrong clamp edge.
16 lines
337 B
JSON
16 lines
337 B
JSON
{
|
|
"name": "@tp/helpers",
|
|
"version": "2.13.0",
|
|
"description": "",
|
|
"main": "closest.js",
|
|
"scripts": {
|
|
"test": "echo \"Error: no test specified\" && exit 1"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "https://gitea.codeblob.work/tp-elements/helpers.git"
|
|
},
|
|
"author": "trading_peter",
|
|
"license": "Apache-2.0"
|
|
}
|