Skip to main content

I have a centralized library of components that I reuse in many prototypes. One of these is a login component. The login component has a button that will change the variant from a keyboard login to a badge scan illustration.

The problem: When I create an instance of this component in a separate prototype file, the button will switch to the badge illustration variant, but any interaction that I apply to that badge illustration to navigate to another screen simply won’t work after the variant change occurs. If I change it so the instance begins with the badge scan variant, then the interaction works fine. But I need the default to be the keyboard.

Be the first to reply!

Reply