This post doesn’t make much sense. What’s in other four components? What are you trying to achieve? What’s the current status of your attempt to achieve that goal? Why do you assume there’s an error? If there is one, it would be nice to post it here…
Imagine you get to the car service, bring only a picture of your car and ask why wouldn’t it start…
Asking for help and giving no context is really disrespectful
I apologize it was not my intention to disrespect I’m new to the environment and I mistakenly thought that the code was enough to explain everything. I’m starting to develop a multitab panel with a component for each tab. Each component realizes a set of functions within a tab. I can view contents in the tabs (see example image 1 - appearing when i select the tab “Lab” ) but the tab that contains the code that I posted does not display anything (see image 2 appearing when i select the tab “Scansione” containing the above code ) When I select this tab (“Scansione”) I expected instead to present a button with three options as in the example from the following adobe site link from which I copied the code MenuTrigger – React Spectrum
UXP does not support React Spectrum for UI. You can use the Spectrum UXP for your UI instead or build your own UI that mimics Spectrum if you choose.
I’m using console.logs but not yet breakpoint. I will start using breakopint aswell as I did many, years ago when I was a good Object Oriente C++ programmer . But it’s been a long time …and besides I’m new to Java, HTML, CSS and so on. So it’s going to be a long way for me, but I’ll make it, hopefully with your kind help from this community too. For now I bought Davide Barranca’s book “UXP Plugin development with React JS” and I consider it very very useful