Components and Interactions

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?

Welcome @dmalone08 :wave:

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.

This lesson talks about it, but instead, add unique class names for each: Triggers and animations | Webflow University