Giter Club home page Giter Club logo

Comments (5)

kajarenc avatar kajarenc commented on May 19, 2024 1

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.

raethlein avatar raethlein commented on May 19, 2024 1

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.

Socvest avatar Socvest commented on May 19, 2024 1

Thank you! Appreciate this very much guys, thanks!

from streamlit.

github-actions avatar github-actions commented on May 19, 2024

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.

Visits

from streamlit.

Socvest avatar Socvest commented on May 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.