I have created a question and answer “dropdown” component that has an interaction tied to a trigger that shows and hides the answer. But what is happening is that the interaction affects all of the components instead of looking at them as separate instances.
Does anyone know a workaround or better way to handle it?
Yes. What you want to do is give each component a unique class name, then bind your interactions to the class name. That’ll target each one individually.