Comments (5)
Hey @Socvest , thank you for opening this issue!
In general, we don't have an official way to support callbacks on custom components (#3977), but it looks like the latest release broke some workarounds that worked previously (victoryhb/streamlit-option-menu#70). (I saw your comment under the last issue.)
@raethlein could have more information about this, but as far as I understood, this particular case doesn't connect with st.experimental_dialog
behavior.
from streamlit.
Hey @Socvest, the internal package structure has changed due to a refactoring; if you change the import in the streamlit_callback.py
to from streamlit.components.v1 import custom_component as _components
, it should work again. If you are not the author of sac
, this might be something to bring to them.
That being written, this is not an official API we are going to guarantee from Streamlit-side 😉 However, we will look into this more closely and try to come up with a clean API for the future so that this patch is not needed anymore. In the meantime, I hope this^ unblocks you (for now).
from streamlit.
Thank you! Appreciate this very much guys, thanks!
from streamlit.
If this issue affects you, please react with a 👍 (thumbs up emoji) to the initial post.
Your feedback helps us prioritize which bugs to investigate and address first.
from streamlit.
Hey @kajarenc thanks for getting back to me. Yeah, I did further investigations and its more related to the callback work arounds for custom components than st.experimental_dialog.
from streamlit.
Related Issues (20)
- Plotly chart flickers when changing tabs HOT 1
- Plotly chart doesn't update when changing value of `use_container_width` HOT 1
- Show preview images in `st.file_uploader` HOT 1
- Add support for alpha channel in `st.image`'s `channels` argument HOT 1
- Critical bug: Sidebar button display in page navigation HOT 3
- Getting "Could not find fragment with id 1c78f2182f4bcfbd2cda9b9971306dc7" error while calling a dialog (fragment) function from a callback. HOT 3
- `st.runtime.get_instance()._session_mgr.list_active_sessions()[0].client.request.protocol` is http on https pages. HOT 5
- Safari <= 16.3: App fails to launch, SyntaxError: Invalid regular expression: invalid group specifier name HOT 3
- Add an `on_complete` or `on_focus_leave` for `st.data_editor` to debounce saving state HOT 3
- Console script returning RuntimeError HOT 8
- Inconsistent case sensitivity (`streamlit run`, `st.switch_page`, and the file name) HOT 7
- Move st.app_state further up in the roadmap HOT 1
- Provide more granular control over editing dataframe st.data_editor HOT 2
- St.selectbox() pre-assigned 'index' value is not working due to setting the 'key' parameter (version 1.34) HOT 3
- st.query_params type attributes incorrectly prohibit `Iterable[str]` values in `from_dict` and `update` HOT 1
- InternalHashError: maximum recursion depth exceeded in comparison HOT 3
- st command to change the theme according to app requirements despite user default system theme settings on runtime HOT 4
- default of browser.serverAddress is not actually "localhost" HOT 8
- st.navbar() for multi-page app HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from streamlit.