-
-
Notifications
You must be signed in to change notification settings - Fork 76
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
Map Moves After Print Action #131
Comments
Same problem here using Chrome, Logs say : leaflet.browser.print.js:92 Uncaught TypeError: Cannot set properties of undefined (setting 'start') Downgrading the plugin to 1.0 does not change anything |
if I comment the line below inside leaflet.browser.print.js, the map movement stops: this._map.invalidateSize({reset: true, animate: false, pan: false}); And I tried some possible alternatives on custom select, after changing the page size to A3 and adding header true but 0mm, the wrong area selection error is also gone. Bu meanwhile I found out that, paper header/footer props are not working well on different browsers. |
I can't reproduce this error. @outputtxt can you please create a demo: https://plnkr.co/edit/CX484lkQSfC0mr4m |
Hi, I am using this plugin with "react-leaflet": "^4.2.1", and I am experiencing 2 unwanted behavior in my project.
by bottom right corner, I mean, map div moves down by current height, and moves right by current width.
I am using Edge, Version 120.0.2210.133 (Official build) (64-bit)
My code is :
Any help is appreciated, best regards.
The text was updated successfully, but these errors were encountered: