Trigger updateConfig not working as expected

I am using Custom Visualization V2 api to trigger a configuration change, however, it takes roughly 22 seconds for the config to update and doesn’t fully refresh the config.


I have an onClick action that calls trigger to set a config value to true.

vis.trigger("updateConfig", [{ map_polygon_editor_mode: false }]);


After this call, the config will update ~22 seconds later. This config is used for a conditional for another. If map_polygon_editor_mode is false, another config should show. This doesn’t happen when manually triggering updateConfig.

I’m not sure if this is a bug or if I’m not implementing correctly. Any advice would be greatly appreciated. Thanks in advance!

 

1 1 162
1 REPLY 1

I have the same problem