octobercms/october · error · Error
Tab fullscreen mode only supported for the document tab…
Error message
Tab fullscreen mode only supported for the document tab style.
What it means
State-contract error in the tabs component's fullscreen toggle: onToggleFullscreen was invoked while the tab style is not the 'document' style. Fullscreen mode is only implemented for the document tab layout, so requesting it for other styles is rejected as unsupported.
Solutions
- Only show/trigger the fullscreen toggle for tabs using the document style
- Switch the tab UI to the document style if fullscreen editing is required
Defensive patterns
Strategy: validation
When it happens
Trigger: Thrown at modules/backend/vuecomponents/tabs/assets/js/tabs.js:441 when the library encounters an invalid state.
Common situations: See trigger scenarios.
AI-assisted analysis of octobercms/october@b608633a7e (2026-08-21).
Data as JSON: /api/errors/60a2c2d73647fc8c.
Report an issue: GitHub.
Appendix: source
Thrown at modules/backend/vuecomponents/tabs/assets/js/tabs.js:441
case 'close-others':
this.closeAllTabs(this.contextMenuTab);
break;
case 'close-saved':
this.closeAllTabs(null, true);
break;
default:
this.$emit('contextmenu', command, this.contextMenuTab);
break;
}
},
onToggleFullscreen: function onToggleFullscreen() {
this.fullScreen = !this.fullScreen;
}
},
mounted: function mounted() {
if (this.supportsFullScreen && this.tabsStyle != 'document') {
throw new Error('Tab fullscreen mode only supported for the document tab style.');
}
$(this.$refs.scrollable).dragScroll({
useDrag: true,
useNative: false,
noScrollClasses: false,
scrollClassContainer: this.$refs.scrollableTabsContainer
});
},
beforeUnmount: function beforeUnmount() {
$(this.$refs.scrollable).dragScroll('dispose');
},
watch: {
currentTabKey: function watchCurrentTabKey(key, oldKey) {
this.$emit('tabselected', key, oldKey);
var component = this.getSelectedTabComponent();
if (component && typeof component.onParentTabSelected == 'function') {View on GitHub (pinned to b608633a7e)