Commit 378008fe authored by rockyl's avatar rockyl

init

parent 42e376ca
{
"name": "html-shot",
"version": "1.0.25",
"version": "1.0.27",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"license": "MIT",
......
......@@ -82,7 +82,7 @@ export function parseDom(el: HTMLElement = document.body) {
}
let styles = getStylesWithoutDefaults(node || childNode, includeStyleKeys)
const asMask = styles.overflow === 'auto' || styles.overflow === 'scroll'
const asMask = styles.overflow === 'auto' || styles.overflow === 'scroll' || styles.overflow === 'hidden'
if (!isText) {
for (let skey of commonStyleKeys) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment