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 / Gallery OnSelect stopp...
Power Apps
Answered

Gallery OnSelect stopped working

(2) ShareShare
ReportReport
Posted on by 4,838 Moderator

Hi Everyone,

 

I have a Flexible Height Gallery that has a function to update a variable that used in further operations.

The issue is that OnSelect property stopped working unexpectedly

 

I tried retrieving the value like Gallery.Selected.Name and it detects that but OnSelect doesn't work.

 

To test it, I used simple Notify() but the function cannot trigger that as well.

 

Any idea what went wrong?

Categories:
I have the same question (1)
  • Akser Profile Picture
    1,546 Moderator on at

    Hi @Ethan_R,

     

    Could it be that the 'Selectable' property of the gallery is set to 'false'?

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Akser ,

     

    That is true.

    But Gallery doesn't responds to the select action on the record when User interacts. 😓

  • Akser Profile Picture
    1,546 Moderator on at

    @Ethan_R, I'm just guessing so bear with me, could it be that the 'DisplaMode' is set to something other than 'Edit'? 

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    Hi @Akser ,

     

    I feel the issue is something else, since all properties are correct are worked before.

    Suddenly this specfic gallery stopped working and I have many operations tied to this. 

    I don't want to create another gallery and transfer all components to other one.

     

    I've checked with other Galleries in the App and there's no issue but the Main gallery is non-functional now....

     

    Unexpected behavior....  

  • Akser Profile Picture
    1,546 Moderator on at

    @Ethan_R, I see. Good luck, hope someone can help you. 

  • Verified answer
    Ethan_009 Profile Picture
    4,838 Moderator on at

    I solved the problem by adding a formula to all the interactable fields as Select(GalleryName) rather than Select(Parent), as this did not work.

    Select(Parent) used to work, but it no longer does in my case. Maybe it's because I grouped the Gallery controls? But I'm not sure.

  • Ethan_009 Profile Picture
    4,838 Moderator on at

    It was just because there was a container inside the Gallery.

    Container cannot trigger selection of Gallery actions. So need to select gallery explicitly.

     

    This is currently an expected behavior of Containers inside Gallery

  • Tina Chen Profile Picture
    90 on at

    This solves the issue in my case! Thanks! 

  • mapplenova Profile Picture
    18 on at

    Thank you for this.  My problem was that there was code in the OnSelect for each of the gallery's items, and I had forgotten I had put it there!  Also, your answer solved my problem that sometimes happens when I place all gallery components into a container, for cleaner layout.  When I do that, Select(parent) doesn't work, but it never occurred to me to use Select(GalleryName)!!

  • BurntBurger Profile Picture
    8 on at

    In my case, the "onSelect" of the gallery wasn't functioning at all. After a little bit of playing around, I noticed that the new controls and containers act as an obstacle. If I click anywhere else but, on them, it functions perfectly. To solve the problem, I simply placed a blank "label" control on top of my container.

     

    BurntBurger_0-1711334588024.png

     

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!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 542 Most Valuable Professional

#2
Haque Profile Picture

Haque 206

#3
Kalathiya Profile Picture

Kalathiya 201 Super User 2026 Season 1

Last 30 days Overall leaderboard