Interacting with component states in preview mode causes page to refresh to default state
- May 4, 2020
- 3 replies
- 846 views
This is a little hard to describe, but let me try my best:
Issue: Interacting with a component in preview mode causes the artboard to refresh to its default state after 1-2 seconds, with a noticable flash in the preview window.
Steps to reproduce:
1. Create a compound component (a component made up of 1 or more other components + other objects.)
2. Ensure the compound component has 2 states (doesn't apply to hover state)
3. Create a click trigger to transition from state 1 to state 2 in the compound object, ensure there is a visual difference between the states (change font weight or bg color)
4. Launch a preview mode and test trigger
Expected results:
Clicking trigger transitions from state 1 to state 2 and stays in state 2
Actual result
Clicking trigger transitions from state 1 to state 2, but reverts back to state 1 after 1-2 seconds, without any user interaction
I've attached an example video. In my example the subcomponent (the box) also has 2 states, but no event triggers. Not sure if that is related.
