dreamRs / shinybusy

Minimal busy indicator for Shiny apps
https://dreamrs.github.io/shinybusy/
Other
138 stars 16 forks source link

Positioning of busy spinner #17

Open stkrogs opened 3 years ago

stkrogs commented 3 years ago

Hi, is there any way to position the busy spinner relative to another HTML element? At the moment it can be either of the corners or full-page, but I would like it to be top-right positioned relative to a Shiny tabPanel or even a div inside the tabPanel instead of the full screen.

kmshort commented 2 years ago

Hi, is there any way to position the busy spinner relative to another HTML element? At the moment it can be either of the corners or full-page, but I would like it to be top-right positioned relative to a Shiny tabPanel or even a div inside the tabPanel instead of the full screen.

Yes, I too would like to do something like this. At the moment, the location overlaps some text on the page which overflows to the top right.. but I would like it in that corner. To adjust it below a following HTML row would be perfect.

LaurentBerder commented 2 years ago

I would also love the positioning to be changed. I'm currently using the margins parameters use_busy_spinner(spin = "fingerprint", margins = c(350, 700)), but I wish it could be relative to the window size.

Is there a way to specify percentages instead of pixel count?