Comments (8)
I just uploaded a version, let me know if the bug is fixed.
from litegraph.js.
Sugestion:
Line 4879
e.canvasX = e.offsetX;
e.canvasY = e.offsetY;
from litegraph.js.
I will check it next week, never embeded a graph in a regular website
from litegraph.js.
After more test, I suggest:
Lines 2864 and 2865
e.localX = e.offsetX;
e.localY = e.offsetY;
from litegraph.js.
Hi, was this issue corrected? Because when using litegraph on a page that has scrolled down, I can't select the nodes unless i click a little bit up of the node (the size of the scroll).
from litegraph.js.
Hi @jagenjo, the issue was corrected on Chrome and Firefox, but it persists on Edge (42.17134.1.0), don't know if you plan to support that browser.
from litegraph.js.
I guess thats a bug from edge, the current function relies on clientY and getClientBoundingRect which are well defined functions in the standard, so if some weird thing happens in Edge it must be a bug on that browser. If you manage to see a work around let me know, I cannot test it as I dont have Edge.
I leave this issue open.
from litegraph.js.
Ok, I'll try to run some tests and check if I can find out a fix with the update that you uploaded today.
from litegraph.js.
Related Issues (20)
- size not working
- Can we render link in different colors by its value? HOT 1
- Question: Creating a NESTED canvas?
- [Feature Req] Ability to distribute nodes (vertically or horizontally)
- Create a Basic Color node or Widget HOT 1
- computeConnectionPoint doesn't respect links_render_mode
- is there an onGraphChange() or onCanvasChange() event? HOT 1
- question: how to use ui for (*custom*) python code generation? HOT 2
- The method mounted on global in the ES Modules environment throws an error
- Linting question
- Preview of what link is sending to node doesn't work after saving and reloading with configure HOT 1
- Text button and prompt dialog
- Background turns black when zooming out
- how to render a different link color when mouseover a link?
- Getting the coordinates on a graph
- How to realize redo and undo? HOT 1
- When the canvas attribute size and CSS style size are inconsistent, interactive events such as clicking on nodes fail. HOT 1
- Bootstrap 5.0.2 makes "Add Node" invisible
- Issue with Output Port Position Adjustment
- Numberpad enter creates a new line in input field of the properties.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from litegraph.js.