From c0474c63a38502c2f85d4eeebfc07e3bd23cc3c7 Mon Sep 17 00:00:00 2001 From: David Date: Wed, 14 Apr 2021 14:18:51 -0400 Subject: [PATCH] fix: No scrollbars in ScrollViewer on skia and WASM --- .../Uno.UI.Tasks/BatchMergeXaml/MergedDictionary.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SourceGenerators/Uno.UI.Tasks/BatchMergeXaml/MergedDictionary.cs b/src/SourceGenerators/Uno.UI.Tasks/BatchMergeXaml/MergedDictionary.cs index 848de06dd782..00ae56a4c35e 100644 --- a/src/SourceGenerators/Uno.UI.Tasks/BatchMergeXaml/MergedDictionary.cs +++ b/src/SourceGenerators/Uno.UI.Tasks/BatchMergeXaml/MergedDictionary.cs @@ -112,10 +112,10 @@ private MergedDictionary(XmlDocument document, MergedDictionary parentDictionary private void AddNamespace(string xmlnsString, string namespaceString) { - if (!namespaceList.Contains(namespaceString)) + if (!namespaceList.Contains(xmlnsString)) { xmlElement.SetAttribute("xmlns:" + xmlnsString, namespaceString); - namespaceList.Add(namespaceString); + namespaceList.Add(xmlnsString); } }