I have created a form field component. Just a text field. Nothing special. It has default, hover, selected, error states. It works perfectly fine. Hover works… Select works.
Now, when I take that component and use it within another component (less components to redesign in the future) like a date picker, it breaks all interactions and I nothing works properly. Even if I put the component within a new auto layout and assign that to another interaction. But, if I “detach instance”, it works flawlessly.
Another example of where this comes up is with a header that can have many different types of buttons depending on where in the app the user is. Those buttons are made into a component to give them all interactions.
Can anyone please explain to me how I can use components within other components and still have interactions? I’d rather not have to make multiple components that can be easily maintained for the 20+ other designers that that library supports.