Comments (6)
from watermark-js-plus.
目前排查下来的原因,是 document.body.appendChild(bodyElement)
在火狐执行后,不会马上显示,而是需要等待一定的时间后才会显示
from watermark-js-plus.
目前排查下来的原因,是
document.body.appendChild(bodyElement)
在火狐执行后,不会马上显示,而是需要等待一定的时间后才会显示
看代码这里的document.body.appendChild(bodyElement)
只是为了获取offsetHeight
offsetWidth
吗?火狐浏览器里调试已经正确返回了offsetHeight
offsetWidth
from watermark-js-plus.
目前排查下来的原因,是
document.body.appendChild(bodyElement)
在火狐执行后,不会马上显示,而是需要等待一定的时间后才会显示看代码这里的
document.body.appendChild(bodyElement)
只是为了获取offsetHeight
offsetWidth
吗?火狐浏览器里调试已经正确返回了offsetHeight
offsetWidth
已排查出问题,是svg标签没有设置width、height导致,稍等会进行修复。
from watermark-js-plus.
@zj9495 已解决上述情况,请更新至最新版本v1.1.0
from watermark-js-plus.
升级至v1.1.0版本后测试可以正常在Firefox显示富文本水印👍
from watermark-js-plus.
Related Issues (20)
- chore(deps): update dependency @types/markdown-it to v14.1.1
- chore(deps): update dependency @typescript-eslint/parser to v7.8.0
- chore(deps): update dependency terser to v5.31.0
- [Bug Report] `package.json` exports import error HOT 1
- [Bug Report] SyntaxError: Unexpected token 'export' HOT 3
- chore(deps): update dependency rimraf to v5.0.6
- chore(deps): update dependency vue to v3.4.27
- 想请教一下,手机拍带有暗水印的照片,解析后出来是黑色背景,如何解决这个问题呢 HOT 1
- chore(deps): update dependency @vue/theme to v2.2.8
- chore(deps): update dependency core-js to v3.37.1
- chore(deps): update dependency element-plus to v2.7.3
- chore(deps): update dependency @typescript-eslint/parser to v7.10.0
- chore(deps): update dependency vitepress to v1.2.0
- chore(deps): update dependency rimraf to v5.0.7
- chore(deps): update babel monorepo to v7.24.6 (`@babel/core`, `@babel/eslint-parser`, `@babel/plugin-transform-runtime`, `@babel/preset-env`)
- chore(deps): update dependency @rollup/plugin-commonjs to v25.0.8
- chore(deps): update dependency @vue/theme to v2.2.12
- chore(deps): update dependency lint-staged to v15.2.5
- chore(deps): update dependency rollup to v4.18.0
- chore(deps): update dependency @typescript-eslint/parser to v7.11.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from watermark-js-plus.