Thanks for this lovely component. I would like to highlight some errors I encountered though:
If I use a statement like dialog_container = float_dialog(ss.show, background='transparent', transition_from="right") I get the error: cannot access local variable 'hidden_background_pos_css' where it is not associated with a value
I can change the background of the dialog box, but there was no way to change the background of the screen behind it, in case you want that to remain as per your defined colour scheme.
There's also an already reported currently non-critical error:
Please replace st.components.v1.html with st.iframe.
st.components.v1.html will be removed after 2026-06-01
Thanks for this lovely component. I would like to highlight some errors I encountered though:
If I use a statement like dialog_container = float_dialog(ss.show, background='transparent', transition_from="right") I get the error: cannot access local variable 'hidden_background_pos_css' where it is not associated with a value
I can change the background of the dialog box, but there was no way to change the background of the screen behind it, in case you want that to remain as per your defined colour scheme.
There's also an already reported currently non-critical error:
Please replace
st.components.v1.htmlwithst.iframe.st.components.v1.htmlwill be removed after 2026-06-01