Skip to content

Commit 191deea

Browse files
committed
a hack to remove the scrollbars in tab panels
1 parent 245072f commit 191deea

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

inst/www/shared/shiny.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1224,6 +1224,8 @@
12241224
searchInputs.keyup(debounce(data.searchDelay, function() {
12251225
oTable.fnFilter(this.value, searchInputs.index(this));
12261226
}));
1227+
// FIXME: ugly scrollbars in tab panels b/c Bootstrap uses 'visible: auto'
1228+
$el.parents('.tab-content').css('overflow', 'visible');
12271229
}
12281230
});
12291231
outputBindings.register(datatableOutputBinding, 'shiny.datatableOutput');

0 commit comments

Comments
 (0)