Skip to content

Commit 9e32491

Browse files
committed
fix: scrollbar appearing in tab context menu
1 parent e5557d5 commit 9e32491

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/extensionsIntegrated/TabBar/more-options.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,8 +282,13 @@ define(function (require, exports, module) {
282282
zIndex: 1000
283283
});
284284

285+
// Add a custom class to override the max-height, not sure why a scroll bar was coming but this did the trick
286+
dropdown.dropdownExtraClasses = "tabbar-context-menu";
287+
285288
dropdown.showDropdown();
286289

290+
$(".tabbar-context-menu").css("max-height", "200px");
291+
287292
// handle the option selection
288293
dropdown.on("select", function (e, item) {
289294
_handleSelection(item, filePath, paneId);

0 commit comments

Comments
 (0)