Replies: 1 comment
-
I assume slidev uses |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Is there an existing issue for this?
Current Behavior
The rendering is incorrect when being embedded inside of a slidev slide. The current layout looks something like:
The main issue is that the nodes are being rendered in the wrong place. When dragging the nodes around, the node moves more than the mouse.
Expected Behavior
I expect that the diagram should display correctly, with all edges going to handle points on each node.
Steps To Reproduce
@vue-flow/core
to the projectand
npm run dev
) which launches the slides. Use the arrow keys to navigate to the page and observe the effect (note that the graph is on the second slide:Minimal reproduction of the issue with CodeSandbox
https://codesandbox.io/p/devbox/staging-cookies-z34pv5
Relevant log output
Anything else?
Slidev dynamically sizes the output so that the slides look exactly the same on all screen sizes. This might be interfering with the positioning.
Beta Was this translation helpful? Give feedback.
All reactions