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 Selected Items...
Power Apps
Answered

Gallery Selected Items Not Working Properly in Mobile

(0) ShareShare
ReportReport
Posted on by 1,059

Hello, Everyone,

 

I have an application in which I am using a Gallery Filter in order to filter the other gallery items, but the filter Gallery items are not working as expected in Mobile.

 

Please Have a look at this GIF Demo.
ezgif.com-video-to-gif.gif

What's happening with the Gallery filters in Leave Requests Screen.

Any Help 

Categories:
I have the same question (0)
  • mdevaney Profile Picture
    29,991 Moderator on at

    @MH3 
    Please share your code from the following places:

    • Items property of the gallery
    • OnSelect property of the button
    • OnSelect property of the buttons on Screen1

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

  • MH3 Profile Picture
    1,059 on at

    Hi @mdevaney 

    Here are the Codes:

    1) Items Property of the Filter Select Gallery: 

    Table({Filter: "All"}, {Filter: "Pending"}, {Filter: "Approved"}, {Filter: "Declined"})

     2) OnSelect Property of the Filter Button of that Gallery

    Set(_requestTypeFilter, ThisItem.Filter)


    3)  OnSelect Property of the button (which leads to that gallery):
     
    btn.png

    Set(_requestTypeFilter,"All");
    Navigate(LeaveRequest,FormPattern.None)

     
    This is Working fine in Desktop Devices but Not in Mobile Devices

    Any Help

  • mdevaney Profile Picture
    29,991 Moderator on at

    @MH3 
    Can you please supply the code inside the Items property of the Gallery displaying records?

  • MH3 Profile Picture
    1,059 on at

    Hi @mdevaney 

     

    Code Inside Gallery Items:

     If( _requestTypeFilter="All",
     Filter(LeaveRequests,User=MyUser), 
     Filter(LeaveRequests, LeaveStatus=_requestTypeFilter && User = MyUser))


    Now, can you please guide me about this problem. 

  • mdevaney Profile Picture
    29,991 Moderator on at

    @MH3 

    Based on your code I do not see any reason why a PC would work but not a mobile device.  Have you tried putting a label on the screen to test the connection like this? Maybe its simply a matter of poor connectivity for the mobile phones.

     

    Connection.Connected

     

    @WarrenBelz 

    Any thoughts on this?

     

    ---
    Please click "Accept as Solution" if my post answered your question so that others may find it more quickly. If you found this post helpful consider giving it a "Thumbs Up."

     

  • Verified answer
    WarrenBelz Profile Picture
    156,100 Most Valuable Professional on at

    Thanks @mdevaney ,

    @MH3 we have a fairly extensive array of apps and mobile device types and the only incompatibility we have found over a couple of years have been photo viewing and a couple with camera controls, I agree with @mdevaney in that if it works on a PC, it should work on a mobile app. You did not say what it was doing on the mobile devices, so it is a bit hard to pinpoint, however try changing the gallery Items to this

    Filter(
     LeaveRequests,
     User=MyUser && 
     If(
     _requestTypeFilter="All",
     LeaveStatus=_requestTypeFilter,
     true
     )
    )

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

     

  • MH3 Profile Picture
    1,059 on at

    Hi @WarrenBelz  @mdevaney ,

     

    Sorry, I think it's a misunderstanding.

     

    Actually the buttons are working, but they are not displaying the label name over it and they are showing as selected all the time whenever I select and deselect the Gallery Filter Label.

    Can you please see the GIF again, you may see labels not showing properly.

     

    Any Help for that?

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 325 Most Valuable Professional

#2
11manish Profile Picture

11manish 165

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 88 Super User 2026 Season 1

Last 30 days Overall leaderboard