queryBuildR icon indicating copy to clipboard operation
queryBuildR copied to clipboard

Recent changes in selectize library don't play nice with queryBuildR

Open rcarrington opened this issue 6 years ago • 0 comments

Hi, and thanks for taking the time to create this package!

A recent update to the selectize.js library changed the way the HTML elements are organized for selectize inputs (more on that here). This change hasn't impacted my other Shiny apps, but for some reason the CSS in queryBuildR does not play well with the new divs that were introduced and the formatting gets totally messed up for selectize inputs.

You can see this behavior by adding a selectize input to the UI of an app that calls the queryBuildR function (or by specifying that a field should use the selectize plugin in the filters argument to the queryBuildR function itself). I used the selectize input from the example I linked above: selectizeInput("s", "Label", choices=c("A", "B", "C"), multiple=TRUE)

If I comment out the parts of my app that relate to the queryBuildR the selectize inputs all render properly, so it appears that there is some CSS somewhere in the queryBuildR package that is causing the problem. However, I haven't been able to isolate it yet. @yonicd perhaps you might have some suggestions, given that you implemented the selectize feature?

rcarrington avatar Dec 06 '18 23:12 rcarrington