shinyWidgets pickerInput width issue

I am using shinyWidgets pickerInput within a flexdashboard sidebar. My issue is that when the options in the pickerInput are too wide they get cut off within the width of the sidebar which makes it so you cannot read the options, see which are selected, or see the deselect all button. Is there a way to have the pickerInput dropdown overflow off of the sidebar and onto the body of the page?

As an intermediate solution I have found that you can use:

choicesOpt = list(
      content = stringr::str_trunc(sort(unique(COLUMN_NAME)), width = 25))

To truncate the text in the pickerInput so that you are able to see which options are selected and all of the buttons but you are still not able to read each option fully.

Resolved here - r - shinyWidgets pickerInput width issue overflow off sidebar - Stack Overflow

This topic was automatically closed 54 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.