{"record":{"id":"67c5b73aa64ebf69","repo":"Semantic-Org/Semantic-UI","slug":"this-module-requires-ui-transitions-https-githu","errorCode":null,"errorMessage":"This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>","messagePattern":"This module requires ui transitions <https://github\\.com/Semantic-Org/UI-Transition>","errorType":"console","errorClass":null,"httpStatus":null,"severity":"error","filePath":"src/definitions/modules/popup.js","lineNumber":1457,"sourceCode":"  transition     : 'scale',\n\n  // distance away from activating element in px\n  distanceAway   : 0,\n\n  // number of pixels an element is allowed to be \"offstage\" for a position to be chosen (allows for rounding)\n  jitter         : 2,\n\n  // offset on aligning axis from calculated position\n  offset         : 0,\n\n  // maximum times to look for a position before failing (9 positions total)\n  maxSearchDepth : 15,\n\n  error: {\n    invalidPosition : 'The position you specified is not a valid position',\n    cannotPlace     : 'Popup does not fit within the boundaries of the viewport',\n    method          : 'The method you called is not defined.',\n    noTransition    : 'This module requires ui transitions <https://github.com/Semantic-Org/UI-Transition>',\n    notFound        : 'The target or popup you specified does not exist on the page'\n  },\n\n  metadata: {\n    activator : 'activator',\n    content   : 'content',\n    html      : 'html',\n    offset    : 'offset',\n    position  : 'position',\n    title     : 'title',\n    variation : 'variation'\n  },\n\n  className   : {\n    active       : 'active',\n    basic        : 'basic',\n    animating    : 'animating',\n    dropdown     : 'dropdown',","sourceCodeStart":1439,"sourceCodeEnd":1475,"githubUrl":"https://github.com/Semantic-Org/Semantic-UI/blob/597843ab84d565cccfd8fd7719416350ae73e734/src/definitions/modules/popup.js#L1439-L1475","documentation":"Popup animates show/hide through the Semantic UI transition module. In show()/hide() it guards on settings.transition && $.fn.transition !== undefined && $module.transition('is supported') (popup.js:~425 and ~452); when transition support is missing it falls into the else branch and logs error.noTransition (popup.js:442 and ~469). The popup cannot animate without the transition module.","triggerScenarios":"settings.transition is set (non-empty, the default 'scale up'/etc.) but semantic-ui-transition.js is not loaded, so $.fn.transition is undefined; OR the browser reports transitions as unsupported. The guard fails and the error logs.","commonSituations":"Loading popup.js without transition.js; bundlers that tree-shake transition away; custom builds that omit the transition module; upgrading and losing the transition dependency.","solutions":["Include semantic-ui-transition.js (the transition module) before/alongside popup.","Set transition: '' (empty) to skip animation if you intentionally drop the transition module, avoiding the guard.","Verify typeof $.fn.transition !== 'undefined' at runtime before initializing popup with a transition."],"exampleFix":"// before: popup.js loaded without transition.js\n$('.btn').popup(); // -> [93]\n\n// after (option A): include transition module\n<script src='semantic-ui-transition.js'></script>\n<script src='semantic-ui-popup.js'></script>\n// after (option B): disable animation\n$('.btn').popup({ transition: '' });","handlingStrategy":"validation","validationCode":"if (cfg.transition !== '' && typeof $.fn.transition === 'undefined') {\n  throw new Error('Popup transition module (semantic-ui-transition) is required for animations.');\n}\n$('.btn').popup(cfg);","typeGuard":"function transitionAvailable(){ return typeof $.fn.transition !== 'undefined'; }","tryCatchPattern":null,"preventionTips":["Always include semantic-ui-transition.js when using animated popups.","Set transition:'' to opt out of animation if transition.js is absent.","Verify $.fn.transition presence in your bundle."],"tags":["popup","transition","missing-dependency","semantic-ui","console-error"],"backgroundTag":null,"analyzedSha":"597843ab84d565cccfd8fd7719416350ae73e734","analyzedAt":"2026-08-13T01:44:23.827Z","schemaVersion":2},"datasetVersion":"2026-08-13T04:17:16.726Z"}