Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix initial load #2

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix initial load #2

wants to merge 1 commit into from

Conversation

xgorse
Copy link

@xgorse xgorse commented Mar 29, 2024

Streamlit 1.32 break this component on first page load

streamlit/streamlit#8387

Just call the when the handler on Streamlit.RENDER_EVENT

Streamlit 1.32 break this component on first page load
streamlit/streamlit#8387
Just call the when the handler on Streamlit.RENDER_EVENT
@lionpeloux
Copy link

Hi @xgorse

I have the same pb you've described trying to get a token from supabase auth with streamlit.
I don't know how to install your revised version of streamlit-url-fragment.
Would you mind telling me how to do that or tu push an updated version of the package on pypi ?!

Thank youi

@xgorse
Copy link
Author

xgorse commented Apr 22, 2024

Hi @lionpeloux

I cannot push a updated version, i'm not the package owner, however i've think this should be fixed in streamlit since 1.33

streamlit/streamlit#8387

@lionpeloux
Copy link

lionpeloux commented Apr 24, 2024

Unfortunately not. The bug is still there in 1.33 here, following your example to reproduce the bug. Do you have any ideas how I can overcome this issue ?! Thanks in advance for your kind response.

PS : on 1.31 it works fine

@xgorse
Copy link
Author

xgorse commented Apr 25, 2024

I have installed a custom version directly in my project.

@lionpeloux
Copy link

Can you give me a little more details ? (sorry, I am not an expert on this topic).
Do you mean you have installed your modified version of streamlit-url-fragment ?
Do I need to follow this process then : development-environment-setup ?
Thanks

@xgorse
Copy link
Author

xgorse commented Apr 26, 2024

Yes, try to setup/run the demo component then you can install the custom url-fragment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants