Skip to content

Commit 7cf3ac2

Browse files
committed
2 parents e9a2a7d + 8e10826 commit 7cf3ac2

File tree

2 files changed

+12
-12
lines changed

2 files changed

+12
-12
lines changed

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -110,15 +110,15 @@ Usage Example is in page/demo/demo_simple_es5.html
110110

111111
# other html docking frameworks in comparison
112112

113-
| Url | Licence | Touch support | Dialogs | Dialogs in new Browserwindows |
114-
|------------------------------------------------|-----------------|---------------|---------|-------------------------------|
115-
| dock-spawn-ts | MIT | Yes | Yes | No |
116-
| https://github.com/golden-layout/golden-layout | MIT | No | No | Yes |
117-
| https://github.com/WebCabin/wcDocker | MIT | Yes | Yes | No |
118-
| https://jspanel.de | MIT | Yes | Yes | No |
119-
| http://www.htmldockfloat.com | Commerical/free | No | Yes | No |
120-
| http://phosphorjs.github.io/ | BSD 3 | ? | ? | No |
121-
| https://github.com/tupilabs/vue-lumino | Apache2 | ? | No | No |
122-
| https://github.com/mathuo/dockview | MIT | ? | No | No |
113+
| Url | Licence | Touch support | Dialogs | Keep Content in DOM | Autocolapsing Panels | Dialogs in new Browserwindows | Dock Back from extra Browserwindow |
114+
|------------------------------------------------|-----------------|---------------|---------|---------------------|----------------------|-------------------------------|------------------------------------|
115+
| dock-spawn-ts | MIT | Yes | Yes | Yes | No | Yes | No |
116+
| https://github.com/golden-layout/golden-layout | MIT | No | No | | | Yes | |
117+
| https://github.com/WebCabin/wcDocker | MIT | Yes | Yes | | | No | |
118+
| https://jspanel.de | MIT | Yes | Yes | | | No | |
119+
| http://www.htmldockfloat.com | Commerical/free | No | Yes | | | No | |
120+
| http://phosphorjs.github.io/ | BSD 3 | ? | ? | | | No | |
121+
| https://github.com/tupilabs/vue-lumino | Apache2 | ? | No | | | No | |
122+
| https://github.com/mathuo/dockview | MIT | ? | No | | | No | |
123123

124124
https://github.com/nomcopter/react-mosaic

src/DockManager.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export class DockManager {
156156

157157
let rect = this.element.getBoundingClientRect();
158158
let dy = Math.floor(currentMousePosition.y - previousMousePosition.y);
159-
let topBounds = container.offsetTop + dy + rect.top < 0;
159+
let topBounds = container.offsetTop + dy < 0;
160160
let bottomBounds = container.offsetTop + dy + rect.top > (window.innerHeight - 16);
161161
if (topBounds) {
162162
previousMousePosition.y = currentMousePosition.y;
@@ -899,4 +899,4 @@ export class DockManager {
899899
}
900900
}
901901
}
902-
}
902+
}

0 commit comments

Comments
 (0)