latitude-dev / latitude

Developer-first embedded analytics
https://latitude.so
GNU Lesser General Public License v3.0
626 stars 21 forks source link

Changing the value of an input from React does not update the parameter in an embed #360

Closed csansoon closed 3 days ago

csansoon commented 2 weeks ago

Steps To Reproduce

  1. Run examples/sample-react
  2. Modify the value of end_year from the input in React, outside of the embed

Environment

Expected Behavior

It should update the value of the param inside the embed.

Actual Behaviour

Does not update the value inside the embed. Every other type of events do work as expected.

Hints

I suspect the problem might come from here: https://github.com/latitude-dev/latitude/pull/284

geclos commented 3 days ago

@andresgutgon this was resolved then no?

andresgutgon commented 3 days ago

I couldn't reproduce with the latest versions of react embed and react-example.