shinybusy icon indicating copy to clipboard operation
shinybusy copied to clipboard

Positioning of busy spinner

Open stkrogs opened this issue 3 years ago • 2 comments

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.

stkrogs avatar Mar 29 '21 13:03 stkrogs

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.

kmshort avatar Dec 09 '21 22:12 kmshort

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?

LaurentBerder avatar Jan 04 '22 10:01 LaurentBerder