Sounds like you need to properly assemble your interactive component.
Check out a working example here: