obsidian-map-view icon indicating copy to clipboard operation
obsidian-map-view copied to clipboard

when an opened map page is dragged out (via the option"move to new window")to become a separate window, you cannot drag the map with the mouse inside that page.

Open ghost opened this issue 3 years ago • 2 comments

in the version of (V0.15.6),when an opened map page is dragged out (via the option"move to new window")to become a separate window, you cannot drag the map with the mouse inside the page. image

ghost avatar Jul 19 '22 13:07 ghost

I've been struggling with this ever since the "new window" functionality came out and it seems to be a tough one. Leaflet has many built-in references to the window and document globals, which I wish it would have taken as parameters. The only ways that I'm seeing to support Obsidian's New Window is to either post a fix to upstream Leaflet (receiving window and document as optional params when constructing a map), or to do a regex-replace as part of bundling it with Rollup.

esm7 avatar Jul 19 '22 13:07 esm7

i hope that this web page will help you :Plugin developers: How to update your plugin to support pop-out windows - Announcements - Obsidian Forum
besides,thanks for your effort to develep this plugin! this plugin has became indispensable to me! and l will waitng for the new function to be released! especially in # 88

Xieleilab avatar Jul 20 '22 08:07 Xieleilab