remotion-dev / remotion

🎥 Make videos programmatically with React
https://remotion.dev
Other
20.83k stars 1.05k forks source link

updateDefaultProps() does not update the properties #4502

Closed ma-foss closed 3 days ago

ma-foss commented 1 week ago

Bug Report 🐛

Within my remotion project, I was having a problem with updateDefaultProps not updating the properties, but after thoroughly checking my code and reading the docs a few times, I could not find a problem here.

So I checked out the remotion repository and started the TestBed as per the Contributing Guide and started playing around with the "SaveDefaultProps" composition. If I understand correctly, clicking on the "Update some props" button should update the color property from blue to red - but nothing happens.

In the attached screencast, you can see that the color property stays blue and does not change to red.

https://github.com/user-attachments/assets/c701f326-ccb6-463b-8111-5fac67f67300

hunxjunedo commented 1 week ago

Have you tried changing the property in props menu and clicking on 'save some props' ?

JonnyBurger commented 3 days ago

Thanks for reporting this!