-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Strange vertical offset after several renders #2244
Comments
Dear Team - is there any chance someone can have a look at this? |
OK - clearly no-ones priority! Helllllloooooooooooo............. |
Happens to me as well |
reset your scroll to the origin ,maybe could do this |
I had the same issue; resetting the scroll with |
Hi groenroos, I have tried the scrollTo option and its still not quite right. Could you explain a bit further about how you set the canvas to fixed please? There doesn't appear to be an option for that and I have tried creating my own canvas without success. I am so close and would be delighted to get this sorted! |
@pcla56 Sure - it's quite simple. My code is something like so (where
Essentially, I'm setting Once I'm done with the canvas (converted to a file etc), I set the The side effect is of course that by setting the position to fixed, the page will reflow and elements might move around, but I found this to be a totally acceptable caveat in my use case. Good luck! |
@groenroos It works! Thank you very much. By the way, in some cases it is necessary to set |
|
Thank you X 100000 |
I am using V1 rc 5, on ubuntu 16.04, and firefox 76.0.1 (64-bit).
![Screenshot from 2020-05-26 13-35-00](https://user-images.githubusercontent.com/22328463/82902287-24682e80-9f57-11ea-8de2-e10c053a843d.png)
![Screenshot from 2020-05-26 13-37-34](https://user-images.githubusercontent.com/22328463/82902437-5bd6db00-9f57-11ea-8554-4ba0c3b9a73f.png)
I can successfully render my canvas, post the base64 string to my server, and then retrieve it for another page and it all works fine. My first attached screenshot shows the successfully created canvas.
However, after several (random) attempts the canvas slips down the page and gets truncated. Its as if something is remaining on the previous canvas? My next screenshot shows the effect:
I have spent days on this, trying to work out whether there are any js side effects, or modal creation problems and have run out of ideas!
I watch the console logging and without fail it "renders ok" (ie no errors. I can also see that the code correctly identifies differing heights and widths correctly.
I have also verified this behaviour on Chrome.
Please can someone have a look at this and possibly save my sanity?
Thx Paul
paul@vicjen.co.uk
The text was updated successfully, but these errors were encountered: