vue-cursor-fx
vue-cursor-fx copied to clipboard
Update cursor position on page scroll
Is your feature request related to a problem? Please describe. When you scroll the page the cursor don't update its position
Describe the solution you'd like When you scroll the page the mouse follow the scrolling - like the normal cursor does
I needed exactly the same feature and actually its kinda easy just 2 line to modify so I made a fork (its not fully tested on every browser) Feel free to try it
You just need to add a position: fixed style to the
https://github.com/aesdotjs/vue-cursor-fx
@aesdotjs thanks! maybe @LuXDAmore could add this feature to this repository to avoid a fork just for this.
@aesdotjs fantastic! But i've seen your code, where is the position: fixed? At which Element are you applying it?
If you already had a fork, you can easely do a PR 😄
I will update the package for sure after this @eliawk 😎
While the fix it's not available, you can simply do it from the parent component, like:
.parent-component ::v-deep .vue-cursor-fx { position: fixed; }