Comments (2)
👋 @Jervx
Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you include steps to reproduce it.
To help make it easier for us to investigate your issue, please follow the contributing guidelines.
We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.
from html-to-image.
I found a work around for this, Instead of having the topmost div to do the blur, I created a div that has the background and then applied a blur filter on the div blur-md
instead of backdrop-blur-md
& it works after exporting.
// Before
<div className="bg-image"> // ref container & handles bg image
<div className="backdrop-blur-md bg-orange-400/10"> // handles bg blur & bg color & opacity to see the blur
.....
</div>
</div>
// Workaround
<div className="relative"> // ref container set to relative
<div className="h-full w-full absolute top-0 left-0 bg-image blur-md"/> // handles blur & image
<div className="bg-orange-400/10"> // only handles bg color
.....
</div>
</div>
from html-to-image.
Related Issues (20)
- Too small test images leads to falsely successful tests
- A margin-top style on a sub-element clips the element HOT 1
- Large number of resource requests in a short period of time HOT 1
- toPng keeps generating the first downloaded ref even though refs passed are different HOT 4
- toPng and toJpeg skip background-image on firefox on the first download HOT 4
- backgroundColor: 'var(--blue)' doesn't render on Chrome HOT 2
- (love) Just to tell you how great your software is HOT 1
- Graph screenshots don't save in Safari HOT 1
- Using url from firebase storage as src for img tag, results in error Object event HOT 1
- Variable font properties are not respected HOT 1
- `ComputedStyle` set to all elements, but it causes SVG `use` element can't override reference object style, so generate wrong style image. HOT 2
- When I call toPng for a second time on a different ref, the image is still old HOT 2
- Add the possibility to pass an HTML string as parameter instead of an HTMLElement HOT 4
- export image very slowly when use custom fonts HOT 2
- Unable to generate image from valid HTML - getting empty Image HOT 9
- Issue with SVG containing "url(#)" HOT 1
- PNG image rendering as blank on IOS 13 view option HOT 2
- CSS shadows not rendered on mobile HOT 2
- questiong: Is this repo no longer maintained ? HOT 1
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 html-to-image.