Forum Discussion
Button on base layer showing on second layer
Wow! Thanks for posting this; I learned something new.
When you hover over the Continue button, your trigger changes it to the hoverr state. Then you click, and are still hovering over it. The click shows the layer, and the hover keeps the button visible, overriding the setting not to show the background objects. What I didn't realize until now is that the built-in superpower of hover includes letting go of the button before starting the click action. So you will be all right if you change the name of the state back to Hover, and get rid of this trigger:
- ErinKingsley-162 years agoCommunity Member
Walt, you're a miracle-worker! I was taught to never use built-in states, but rather to create your own. Do you use the built-in hover states for buttons in your own programming without any problems?
Thank you!!!
- DanielCanave6182 years agoCommunity Member
Just out of curiosity, who informed you that built-in states should be avoided? I heard a rumor that this was something being taught at a bootcamp by a certain well-known figure on LinkedIn...
Feel free to respond via a private message if so inclined.