Closed mhaidamashko closed 1 year ago
@mhaidamashko
Use refresh option
elementGuidelines: [{
element: document.getElementById("box1"),
refresh: true,
}],
@daybrush you're right, that's exactly what I need for the elementGuidelines case. However what to do with horizontalGuidelines/verticalGuidelines
that are still rendered in the wrong place? Do I have refresh
property for them?
Updated example with a refresh
option:
https://codesandbox.io/s/boring-glade-gn9644?file=/src/index.js:400-418
@mhaidamashko
@moveable/helper
0.0.4lit-moveable
0.16.0moveable
0.39.0preact-moveable
0.41.0react-compat-moveable
0.27.0react-moveable
0.42.0svelte-moveable
0.31.0vue-moveable
2.0.0-beta.48vue3-moveable
0.14.0ngx-moveable
0.36.0moveable's new version is released. Check it again.
@daybrush Thanks, I've checked it with the new version and the issue is still partly here. Vertical guidelines still follow the scroll(but horizontal is fixed). https://codesandbox.io/s/strange-browser-puu0i9?file=/src/index.js Could you check again, please?
@mhaidamashko
moveable's new version is released. Check it again.
@daybrush thanks, it works great!
Environments
Description
I want to position my target as
fixed
and use a common transform, it works fine until the page is in the highest position(scrollTop = 0) in other scenarios I have guidelines in the wrong position. Do you know how I can manage it? Thanks for your work!