Sharing the answer from this thread here:
While we don’t prevent
st.html
components from callingElement.requestFullscreen()
(which you can read more about here), we also don’t automatically add a fullscreen button overlay on thest.html
component.As a result, to have a fullscreen option display, you would need to do the following:
- The code that you pass to
st.html
would need to make a call to theElement.requestFullscreen()
API.- If you want a button to appear to allow users to select the fullscreen option, you’d need to implement it with HTML + JS in the code passed to
st.html
.