Closed alanfarahani closed 11 months ago
Look at development mode (F12) if you have conflicts.
For example after I have installed some plugins by hand, I had conflicts for, and commented out some :
Try also to put normal
in some css, after found the call at two CSS in conflict.
Example found after I had seen it by F12 :
.query-builder.bt-checkbox-glyphicons .checkbox input[type=checkbox]:checked+label::after {
content: normal;
Hi @philibe, thanks for your response.
I was aware that I could fix this issue using CSS. For those interested, in the bslib MRE I provided above, just add the following:
tags$style(
HTML(".glyphicon-remove-circle:before {content: normal;}")
)
Still, I wanted to raise the issue in the event that it was worth addressing in DT itself, maybe through identifying bootstrap version conflicts and adjusting the css / jscript accordingly.
Hi all,
I'm persistently encountering something in my DT tables with
filter = 'top'
that I'm not sure is a bug or a feature.I have tried this in bslib, bs4Dash, and shinydashboardplus. See the MREs below.
Namely, no matter the combination of bootstrap versions, themes, or presets, in conjunction with any of the DT styles (default, bootstrap 4, 5, etc.), there are always two "remove filter" icons -- one in the search field itself (what I would take to be the default behavior), and one appearing in the bottom left hand corner. The sole exception is shinydashboardplus.
Is this in fact supposed to be default behavior?
I can close this issue if I should escalate this to bslib / bs4Dash instead.
Thanks.
Examples:
bslib:
shinydashboardplus:
bslib MRE:
shinydashboardplus MRE:
Session Info
By filing an issue to this repo, I promise that
xfun::session_info('DT')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/DT')
.I understand that my issue may be closed if I don't fulfill my promises.