Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Safari aleatory result #142

Open
cesarphernandez opened this issue May 30, 2023 · 5 comments
Open

Safari aleatory result #142

cesarphernandez opened this issue May 30, 2023 · 5 comments

Comments

@cesarphernandez
Copy link

The functionality dont work always, in the last Safari version have a intermittence between time when library works fine and when not works

Exist a some fix about this o some reason?

We work in
Safari version: Version 16.4 (18615.1.26.11.23)

@IDisposable
Copy link
Member

Would need a LOT more information to help. Can you get a time when it fails and snag the HTML, CSS, JS and make a jsfiddle

@cesarphernandez
Copy link
Author

cesarphernandez commented May 31, 2023

Off course!

JSFiddle: https://jsfiddle.net/cesarphernandez/rdx1ztew/118/

In this case, I try to render the content of the DOMElement and his Childs, and after this, I generate a url blob to see the result in the browser.
In Google Chrome, not have a problem, but in Safari, is aleatoreously some times it works fine, in other cases fail

Attach our video of evidence: https://share.cleanshot.com/4DvVmS26

As I comment, the problem is random, possible need to try some times to replicate it

@IDisposable
Copy link
Member

Not sure what you're doing with the URL.createObjectURL stuff, seems to be something jsFiddle offers... but it looks like it's always returning the PNG to me every time... I've tweaked the fiddle... can you try on Safari?
https://jsfiddle.net/7ykfet6c/

@cesarphernandez
Copy link
Author

cesarphernandez commented Jun 1, 2023

In. this case I use URL.createObjectURL, to generate a blob Url to use in the same browser, is more to can view more easy the result, but how I showed u, There are cases in where works fine, but not always and we need that works fine always

I was try with your link, but not works in the first generation of Image, attach our video
https://share.cleanshot.com/JYN7cQ2D

I believe that what happens is that not works fine, when div is change or loaded by first time ,In my case is a use library to generate images with many changes in these divs, and I believe that this error is reproduced when div is change

@cesarphernandez
Copy link
Author

@IDisposable Have u some update at now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants