web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Button border doesn't ...
Power Apps
Answered

Button border doesn't execute OnSelect, but still highlights button

(0) ShareShare
ReportReport
Posted on by 28

Hi,

 

If you hover your cursor over a button border, it will trigger Hover properties, but the cursor will not change. Clicking will trigger Pressed properties, but OnSelect will not execute. It can be very misleading to the user if you're using thick button borders.

Categories:
I have the same question (0)
  • Verified answer
    RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Requiemourn 

    Partly true...the pressed property will not be true if clicking on the border.  The border itself does not provide any actions.

    The misleading part is that when clicking on the border, the button visually responds as if it is being pressed.

  • Requiemourn Profile Picture
    28 on at

    Yup, I should've clarified that by "Pressed properties" I meant the set of properties relating to the visual response. The actual boolean Pressed doesn't respond indeed.

  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Requiemourn 

    Yes, in general the border of any control will not participate in the behavioral actions of the control.  It is meant to be a visual aspect of the control only.

     

  • SuperMX Profile Picture
    21 on at

    Visual aspect or not, it's not really user friendly when you click on a button, you see him react to your action (click) but you never trigger expected behavior.

    I can understand that a shadow box don't trigger the action associated with the button, but it's really strange for me that I can't include the border of a button to be "really" an integral part of this button... 😕

    Anyway, is there a way to "fully include" the border to my button ?  Or if I find this behavior to be a "customer killer", I' just can't never use borders on my buttons ? 😥

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 551

#2
WarrenBelz Profile Picture

WarrenBelz 430 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 298

Last 30 days Overall leaderboard