summaryrefslogtreecommitdiff
path: root/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs')
-rw-r--r--Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
index 0d6b303..a6c1c3a 100644
--- a/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
+++ b/Xamarin.Forms.Platform.Tizen/Renderers/VisualElementRenderer.cs
@@ -795,9 +795,9 @@ namespace Xamarin.Forms.Platform.Tizen
if (!initialize)
{
var widget = NativeView as Widget;
- if (widget != null)
+ if (widget != null && Specific.IsFocusAllowed(Element).HasValue)
{
- widget.AllowFocus(Specific.IsFocusAllowed(Element));
+ widget.AllowFocus((bool)Specific.IsFocusAllowed(Element));
}
else
{