Component System. Experimental Behave feature works randomly
Good morning community!
I am making up a component system for my workteams and I am exploring experimental "behave" feature.
I create a button with colors of differents states (input properties) following the company guide lines.
The problem comes with behave props. I need to create a custom behave prop to control the onSelect action.
It seemed to work well but sometimes it woks and sometimes doesnt. Im testing de buttons on screen section in the library and for checking onSelect property, im showning and hidden the image mark on the picture. These buttons works but when i use the component for making a new button and writing the same action in the onSelect property, it does nothing. If I copypaste the buttons are working, seems to work in that screen and at other apps. The other day for example, two of those button worked but the rest didnt and today, all the buttons work.
I dont know what is going on. Is it because of experimental feature fact? I cant trust on behave of the component. Thx