Comments (12)
I'm willing to help you get this working in the dev
branch (which is "my" branch) - i.e. version 2.9.1. Unfortunately, I can't help you with problems in other branches - including master
or version 2.6.x.
from golden-layout.
Sure.
from golden-layout.
Hi @pbklink, can you provide an email address so I can ask some questions about rates, timescales and whatnot please?
My email address is on my GitHub home page
from golden-layout.
Thanks! I am literally about to leave the office for a vacation. Can I ping you here when I return in 10 days?
from golden-layout.
But be warned that the dev
branch is quite different from 2.6, and migrating will not be trivial.
from golden-layout.
Hi Dan,
I am the author of version 2.x of Golden Layout. I can provide you with support with migrating to or using Golden Layout however I would charge commercial software development rates. Support would cover the existing Golden Layout 2.6 release but not Per's dev branch.
Feel free to use Per's offer of assistance. I will not be offended :) and I am sure that Per will ably assist you.
from golden-layout.
Hi @pbklink, can you provide an email address so I can ask some questions about rates, timescales and whatnot please?
from golden-layout.
Hi @PerBothner is the newDragSource method significantly different between versions 2.6 and 2.9? I don't think it's feasible to try to upgrade to version 2.9 at this point. I've spent weeks getting the 2.6 upgrade to where it is now and all I have left to fix is this drag issue.
from golden-layout.
QQ - does the HTML element need to be visible on screen when newDragSource
is called? The items we would like to be drag sources are not visible until the menu is opened (although they do exist in the DOM)
from golden-layout.
is the newDragSource method significantly different between versions 2.6 and 2.9?
Probably. It does look like the implementation of newDragSource
is missing or incomplete in 2.9.x. Probably not difficult to fix, but I haven't looked at the code in a while.
I don't think it's feasible to try to upgrade to version 2.9 at this point.
2.9 is a big change. It has some nice new features, but the code and APIs have changed quite a bit, and some things that I don't use a probably broken. (However, if someone needs any missing/broken functionality, I'll work on fixing it.)
from golden-layout.
The issue definitely appears to be related to the fact that these elements are in a hidden menu - if I add a static element to the page and use the same methods to initialise it as a dragSource, it works as expected
from golden-layout.
Finally figured this out. Even though I was making the list-items dragSources, the mouseDown event handler added by golden-layout was being triggered by a label element inside the list-items. There is some logic inside DragSource.js which compares the event.target for the mouseDown event to the dragSource element, and obviously they were not the same element.
I fixed it by making the labels drag sources instead of the list items
from golden-layout.
Related Issues (20)
- No header controls in basic implementation HOT 3
- Bugs in negated `instanceof` expressions
- Unable to add child items
- How i can remove created DragSources?
- Popouts are not handled in loadLayout correctly
- popout not working when using with popoutWholeStack enabled
- The position when closing the tab when reopening it HOT 1
- Way to prevent tab drag to other component [HELP] HOT 1
- RTL Feature Support HOT 1
- isClose cause issue with dragging
- X3D content fails after dragging window
- Is it possible to simulate a new window on this page instead of using the browser implementation?
- it popout the whole application gets loaded in popup window
- Error: Component type not registered and BindComponentEvent handler not assigned HOT 1
- I think the drag and drop method in the dev version is particularly good, but it seems that it cannot be used yet HOT 10
- Stack sizing not applied HOT 1
- Container content persists after dragging parent down
- Is it possible to update the containers while dragging the splitters?
- golen-layout blazor version
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 golden-layout.