in my app I would like to show a button only when hovering over a text component. I want to do that with CSS, but unfortunately with my code it doesn't work.
In the attached screenshot you can see that I have 3 different text components with each showing a different attribute. I want them to be copied to the clipboard by clicking on a button, so I created 3 different buttons with event handlers to copy the respective value.
But I don't want these buttons to be visible all the time, they should be only visible when hovering over the respective text component (this doesn't work) and when hovering over the button itself (this already works).
Yep looks like there is no event handler for hover to trigger or set hidden to false for the button... you may want to think of a different design for what you're trying to accomplish? Perhaps a dropdown when selected, a certain button will appear?