Can anything go wrong by putting buttons in the main panel?

I'm very new to shiny and in every example I've seen, both from the community and from Shiny's devs, I've never seen a button placed outside of the sidebarPanel (or some equivalent of the sidebarPanel depending on the UI structure).

Can anything go wrong if there is an action button in the main panel? Is there any reason to not put buttons (or control elements in general) in the main panel?

I'm just going with the classic sidebarLayout( sidebarPanel(...), mainPanel(...) ) if that matters for the answer

No, it's fine, put them anywhere you like.

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.