summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs7
1 files changed, 7 insertions, 0 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs
index 3c9734db..30a2546c 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/SearchBarRenderer.cs
@@ -51,6 +51,8 @@ namespace Xamarin.Forms.Platform.Tizen
{
Control.TextChanged += SearchBarTextChangedHandler;
Control.SearchButtonPressed += SearchButtonPressedHandler;
+
+ Control.BatchBegin();
}
base.OnElementChanged(e);
@@ -61,6 +63,11 @@ namespace Xamarin.Forms.Platform.Tizen
return new Size(136, 65);
}
+ protected override void OnElementReady()
+ {
+ Control?.BatchCommit();
+ }
+
/// <summary>
/// Called upon changing of Xamarin widget's cancel button color property.
/// Converts current Color to ElmSharp.Color instance and sets it in the underlying Xamarin.Forms.Platform.Tizen.Native widget.