{"record":{"id":"60a2c2d73647fc8c","repo":"octobercms/october","slug":"tab-fullscreen-mode-only-supported-for-the-documen","errorCode":null,"errorMessage":"Tab fullscreen mode only supported for the document tab style.","messagePattern":"Tab fullscreen mode only supported for the document tab style\\.","errorType":"exception","errorClass":"Error","httpStatus":null,"severity":"error","filePath":"modules/backend/vuecomponents/tabs/assets/js/tabs.js","lineNumber":441,"sourceCode":"                    case 'close-others':\n                        this.closeAllTabs(this.contextMenuTab);\n                        break;\n                    case 'close-saved':\n                        this.closeAllTabs(null, true);\n                        break;\n                    default:\n                        this.$emit('contextmenu', command, this.contextMenuTab);\n                        break;\n                }\n            },\n\n            onToggleFullscreen: function onToggleFullscreen() {\n                this.fullScreen = !this.fullScreen;\n            }\n        },\n        mounted: function mounted() {\n            if (this.supportsFullScreen && this.tabsStyle != 'document') {\n                throw new Error('Tab fullscreen mode only supported for the document tab style.');\n            }\n\n            $(this.$refs.scrollable).dragScroll({\n                useDrag: true,\n                useNative: false,\n                noScrollClasses: false,\n                scrollClassContainer: this.$refs.scrollableTabsContainer\n            });\n        },\n        beforeUnmount: function beforeUnmount() {\n            $(this.$refs.scrollable).dragScroll('dispose');\n        },\n        watch: {\n            currentTabKey: function watchCurrentTabKey(key, oldKey) {\n                this.$emit('tabselected', key, oldKey);\n\n                var component = this.getSelectedTabComponent();\n                if (component && typeof component.onParentTabSelected == 'function') {","sourceCodeStart":423,"sourceCodeEnd":459,"githubUrl":"https://github.com/octobercms/october/blob/b608633a7e8922487d91a8161499020121c3b3bf/modules/backend/vuecomponents/tabs/assets/js/tabs.js#L423-L459","documentation":"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.","triggerScenarios":"Thrown at modules/backend/vuecomponents/tabs/assets/js/tabs.js:441 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","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"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"b608633a7e8922487d91a8161499020121c3b3bf","analyzedAt":"2026-08-21T04:24:57.515Z","contentChangedAt":"2026-08-21T04:24:57.515Z","schemaVersion":2},"datasetVersion":"2026-09-23T08:17:48.524Z"}