DenizD / Streamlit-Image-Carousel

Image Carousel Component for Streamlit
59 stars 10 forks source link

carousel doesn't appear #3

Open go-bears opened 2 years ago

go-bears commented 2 years ago

Hello @DenizDogan92 !

I really appreciate the carousel component! I'm currently developing with the component and it was running locally perfectly, and then it stopped rendering. I updated the streamlit version as per the security advisory and then the component stopped working. I tried rolling back the streamlit version and but I couldn't restore your component to the page even when I copy-pasted your example directly into my app code.

Do you think your component was affected by the security vulnerability fix?

Yesterday, July 27th, 2022, we learned of a potential vulnerability in the Streamlit open source library that impacts apps that 
use custom components. The vulnerability does not impact apps hosted on Streamlit Cloud. We released a patch last night, 
July 27th, 2022 at 2:20PM PST, and ask that you  immediately upgrade your Streamlit code to version 1.11.1.
go-bears commented 2 years ago

I'm not seeing any errors in the terminal, but the component no longer renders, and I basically copied and pasted your example code (with only 3 image links) into this test page. The component was literally working 2 hours ago. I think streamlit made a breaking change to secure the exploit?

Screen Shot 2022-07-28 at 9 26 54 PM
go-bears commented 2 years ago

I've rolled back to Streamlit version 1.11.0 and 1.10.0, (1.9.0 is too old) and I can't get the component to render 😢 , so frustrating since I just had it working.

I hope these notes help with any debugging you have to do. I was really excited to get it working for my use case! Thanks for contributing this to the streamlit community!