Forum Discussion
Disabling the Hover State when non-button Object is Disabled
I've been working on a conversation simulator that I am trying to add some new features to. One of these new features is a way for users to go back through the slides after they've selected a conversation option to see whether or not they made the best possible selection from the list of choices.
With this feature being added, I am trying to disable the objects used as part of selecting options. However, the hover state is still being activated even when the objects have been put in the disabled state.
Since I'm only uploading one slide here, I have added a variable at the top to simulate having already selected one of the options. Normally this variable wouldn't be there.
I suspect that I may be able to get this to work by using a button instead of a Rounded Rectangular Caption as the object, but it would be a significant amount of effort to change all of my choices over to buttons from captions so I'm hoping to avoid that.
It looks like the Grouped nature of your buttons is creating the issue. The disabled state works as expected when not grouped. Instead of grouping, you may consider adding the multiple objects to the Normal State of an object.
- StevenBleaCommunity Member
I did a try with buttons and I was able to get it working. Oddly, I had to play around a bit even then as one of the buttons was still doing hover effects when disabled (so I copied and pasted one of the other buttons that was working). Then with the newly copied button I noticed a hover effect was still showing up on two of the other buttons (the stroke color was changing) so I copied and pasted the first button in place of those and it finally worked the way I wanted for all of them.
It still seems a bit like it's a buggy feature.
- RonPricePartner
It looks like the Grouped nature of your buttons is creating the issue. The disabled state works as expected when not grouped. Instead of grouping, you may consider adding the multiple objects to the Normal State of an object.
- StevenBleaCommunity Member
Interesting. That may have been what caused the issue when I turned them into buttons as well. Oddly, they are still grouped as buttons and it still seems to be working the way I would expect them to. I'm guessing it was the grouping that caused my initial issues with that.