Open cosmicobscura opened 2 weeks ago
Thank you so much for the feature request. While I really appreciate your effort and even providing a code snippet, I suspect that this feature will be difficult to implement. But this doesn't mean that it won't get added! I'll take a look at it when I have some spare time.
Hi, @Developer-Mike! Hope you're doing well !
I have another UX feature request for my fav Canvas Developer :D As I'm sure you know, "momentum scrolling" is a neat UX feature that adds greatly to the sense of smoothness when navigating large space. I don't know why its not including with the core Canvas plugin . I mean .. freaking Apple had it since 2007 !! Anyway, having an exclusively Canvas-based vault, it's been getting increasingly harder to navigate my constantly growing canvases as the current "static" drag function requires multiple drags/zooms to move around.
My idea is that the same motion of momentum scrolling could be added to the function of dragging/panning the canvas using the RMB to make for a more dynamic navigation experience. I would really love for this to be implemented as soon as possible and that's why I took it upon myself to be of some help to you writing the code. disclaimer: I'm not a coder by any means but I have the spirit I guess 😅
I took a look into the dev console and found that
.canvas-wrapper.is-dragging
is being activated while using the drag function. I then tried, with the help of Gemini, to make a primitive JS code for the "momentum panning" function . Hopefully it could be a decent enough head start for you to implement this into Advanced Canvas :and that's it ! thanks in advance :)