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 item ...
Power Apps
Unanswered

Gallery selected item displays different in Teams tab than in the browser.

(0) ShareShare
ReportReport
Posted on by 27

One of the screens in my App has a gallery and a form.  I use an If statement in the TemplateFill property to change the color of the selected item.  When not selected the color is transparent white, and all the labels in my gallery have a transparent fill.  It works fine in the browser, both in design and play, but in teams a little less than half the row has the background color.

Browser

ToddBacon_0-1631543705816.png

Teams Desktop App

ToddBacon_1-1631543759072.png

I've resized the controls in the gallery with no change to the way the template fill is painted.

Any ideas?

 

Categories:
I have the same question (0)
  • GarethPrisk Profile Picture
    2,828 on at

    We have seen a bug like this, where some of the responsive formulas are not calculating correctly.

    If you resize the Teams window after the app loads, does the fill size correctly?

  • ToddBacon Profile Picture
    27 on at

    No, it doesn't.  
    I'm not using a sophisticated formula to size and fill.

    In Gallery.TemplateFill I have

    If(ThisItem.IsSelected,

    varHoverFill,
    RGBA(255,255,255,0)

    )

  • ToddBacon Profile Picture
    27 on at

    As a workaround I'm using a formula in the fill property for everything in the gallery.

    If(ThisItem.ID= S23a_Gallery.Selected.ID,

    varHoverFill,

    White

    )

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 333 Most Valuable Professional

#2
11manish Profile Picture

11manish 184

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 86 Super User 2026 Season 1

Last 30 days Overall leaderboard