Closed luke-mcconnell closed 1 year ago
Current work around for this: https://stackoverflow.com/questions/73504019/shiny-horizontal-sortable-rank-list/73504477#73504477
The sortable.js
library doesn't actually provide this. The demo you link to actually uses CSS to achieve this outcomes, and there is no option for setting direction
, AFAICT.
This means the workaround you link to is in fact the way to get this to work. So it would require an enhancement request to the R package to enable this use case.
I am trying to arrange the labels of rank_list horizontally rather than vertically using the direction option:
This is implemented in the sortable JS library: https://sortablejs.github.io/Sortable/#example7