UI Error when I come back to page with SetProperty refresh elements
See original GitHub issueHi! I have an error when I use Binding icons in carrousel, when I go back to this page and binding values call to SetProperty to refresh data I see something like this. Battery is the last item in carousel.
My code is:
<cards:CarouselView
IsAutoInteractionRunning="False"
IsAutoNavigatingAimationEnabled="False"
IsCyclical="False"
ItemsSource="{Binding CountersList}"
SelectedIndex="0">
<cards:CarouselView.ItemTemplate>
<DataTemplate>
<ContentView>
<Frame
Padding="0"
CornerRadius="10"
HasShadow="False"
HeightRequest="130"
HorizontalOptions="Center"
IsClippedToBounds="true"
VerticalOptions="CenterAndExpand">
<StackLayout HorizontalOptions="CenterAndExpand" Orientation="Vertical">
<Label
FontSize="16"
HorizontalOptions="CenterAndExpand"
Text="{Binding Title}"
TextColor="#4c4c4c" />
<StackLayout HorizontalOptions="CenterAndExpand" Orientation="Horizontal">
<Label
FontSize="40"
HorizontalTextAlignment="Center"
Text="{Binding Value1}"
TextColor="#01877E" />
<iconize:IconImage
Icon="{Binding Icon}"
IconColor="#01877E"
IconSize="40" />
</StackLayout>
</StackLayout>
</Frame>
</ContentView>
</DataTemplate>
</cards:CarouselView.ItemTemplate>
<controls1:IndicatorsControl
IsVisible="True"
SelectedIndex="0"
SelectedIndicatorStyle="{StaticResource ActiveIndicator}"
UnselectedIndicatorStyle="{StaticResource InactiveIndicator}" />
</cards:CarouselView>
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Force DOM redraw/refresh on Chrome/Mac
Hiding an element and then showing it again within a setTimeout of 0 will force a redraw. $('#page').hide(); setTimeout(function() { $(' ...
Read more >How to deal with StaleElementReferenceException in Selenium
Reason #1: The HTML element is no longer present on the web page ... This generally happens due to a JavaScript operation that...
Read more >This page has an error. You might just need to refresh it
I've been dealing with a very similar issue all day, trying to expose a lightning runtime flow embedded in VF through a public...
Read more >setProperty
setProperty () lets your app change any property listed in Design mode for a given UI element. Possible Properties. Property, Value, Works on....
Read more >Error on reload when an element has been added to the UI ...
So I have created an FPS counter: using System; using UnityEngine; using UnityEngine.UIElements; public class FPSCounter : MonoBehaviour {.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Sorry, it’s something related with my code. Thank you very much!
@Jululu thanks for feedback