Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| b123768474 | |||
| f292e7a7f4 | |||
| d82e5603a7 | |||
| 7e2386bcdf |
13
changelog.md
13
changelog.md
@@ -1,5 +1,18 @@
|
|||||||
# Changelog
|
# Changelog
|
||||||
|
|
||||||
|
## 2026-02-02 - 3.41.6 - fix(dees-simple-appdash)
|
||||||
|
respect selectedView when loading initial view, falling back to the first tab
|
||||||
|
|
||||||
|
- firstUpdated now loads this.selectedView if set, otherwise loads the first view tab
|
||||||
|
- Prevents always loading the first tab and preserves a previously selected view on initial render
|
||||||
|
|
||||||
|
## 2026-02-01 - 3.41.5 - fix(dees-service-lib-loader)
|
||||||
|
prevent horizontal scrollbar by offsetting xterm WidthCache measurement container
|
||||||
|
|
||||||
|
- Injects additional CSS into DeesServiceLibLoader to move xterm.js WidthCache measurement div off-screen horizontally (selector: body > div[style*="top: -50000px"][style*="width: 50000px"])
|
||||||
|
- Fixes root cause where xterm creates a large-width measurement container (width: 50000px) on document.body that expands scrollWidth and causes a horizontal scrollbar
|
||||||
|
- Change applied in ts_web/services/DeesServiceLibLoader.ts by concatenating the fix CSS into the injected stylesheet
|
||||||
|
|
||||||
## 2026-01-29 - 3.41.4 - fix()
|
## 2026-01-29 - 3.41.4 - fix()
|
||||||
no changes
|
no changes
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "@design.estate/dees-catalog",
|
"name": "@design.estate/dees-catalog",
|
||||||
"version": "3.41.4",
|
"version": "3.41.6",
|
||||||
"private": false,
|
"private": false,
|
||||||
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
"description": "A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.",
|
||||||
"main": "dist_ts_web/index.js",
|
"main": "dist_ts_web/index.js",
|
||||||
|
|||||||
@@ -3,6 +3,6 @@
|
|||||||
*/
|
*/
|
||||||
export const commitinfo = {
|
export const commitinfo = {
|
||||||
name: '@design.estate/dees-catalog',
|
name: '@design.estate/dees-catalog',
|
||||||
version: '3.41.4',
|
version: '3.41.6',
|
||||||
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
description: 'A comprehensive library that provides dynamic web components for building sophisticated and modern web applications using JavaScript and TypeScript.'
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -390,7 +390,8 @@ export class DeesSimpleAppDash extends DeesElement {
|
|||||||
const domtools = await this.domtoolsPromise;
|
const domtools = await this.domtoolsPromise;
|
||||||
super.firstUpdated(_changedProperties);
|
super.firstUpdated(_changedProperties);
|
||||||
if (this.viewTabs && this.viewTabs.length > 0) {
|
if (this.viewTabs && this.viewTabs.length > 0) {
|
||||||
await this.loadView(this.viewTabs[0]);
|
const viewToLoad = this.selectedView || this.viewTabs[0];
|
||||||
|
await this.loadView(viewToLoad);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -193,9 +193,20 @@ export class DeesServiceLibLoader {
|
|||||||
const response = await fetch(cssUrl);
|
const response = await fetch(cssUrl);
|
||||||
const cssText = await response.text();
|
const cssText = await response.text();
|
||||||
|
|
||||||
|
// Fix for xterm.js WidthCache measurement container causing horizontal scrollbar
|
||||||
|
// xterm.js creates this on document.body with width: 50000px, top: -50000px
|
||||||
|
// Moving it off-screen horizontally prevents scrollWidth expansion
|
||||||
|
const xtermMeasurementFix = `
|
||||||
|
/* Fix xterm.js WidthCache measurement container causing horizontal scrollbar */
|
||||||
|
/* xterm creates this on document.body - move it off-screen horizontally too */
|
||||||
|
body > div[style*="top: -50000px"][style*="width: 50000px"] {
|
||||||
|
left: -50000px !important;
|
||||||
|
}
|
||||||
|
`;
|
||||||
|
|
||||||
const style = document.createElement('style');
|
const style = document.createElement('style');
|
||||||
style.id = styleId;
|
style.id = styleId;
|
||||||
style.textContent = cssText;
|
style.textContent = cssText + xtermMeasurementFix;
|
||||||
document.head.appendChild(style);
|
document.head.appendChild(style);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user