<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: On-screen keyboard leaves UI expanded underneath. in Swift Maps SDK Questions</title>
    <link>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242848#M8</link>
    <description>&lt;P&gt;This is a Apple/SwiftUI issue. &amp;nbsp;I had to wrap my MapViewReader in a scrollview and scrollview in a GeometryReader. &amp;nbsp;I would have thought Apple would have a better solution by now.&lt;/P&gt;&lt;P&gt;GeometryReader&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;SPAN&gt;geo&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ScrollView&lt;/SPAN&gt;() {&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VStack&lt;/SPAN&gt; {&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;MapViewReader { mapViewProxy &lt;SPAN&gt;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;MapView(map: &lt;SPAN&gt;AppData&lt;/SPAN&gt;.&lt;SPAN&gt;shared&lt;/SPAN&gt;.&lt;SPAN&gt;map&lt;/SPAN&gt;)...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }.frame(height:geo.size.height). // ScrollView&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Dec 2022 23:00:48 GMT</pubDate>
    <dc:creator>DuanePfeiffer</dc:creator>
    <dc:date>2022-12-20T23:00:48Z</dc:date>
    <item>
      <title>On-screen keyboard leaves UI expanded underneath.</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242793#M6</link>
      <description>&lt;P&gt;Not sure if this is an Apple/SwiftUI issue or an Esri issue. &amp;nbsp;If I put a textfield in my view and then the keyboard is activated, when the keyboard disappears, the map view display doesn't expand back to where it was before keyboard activated. &amp;nbsp;See attached photos in order 90, 91, 92&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 20:34:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242793#M6</guid>
      <dc:creator>DuanePfeiffer</dc:creator>
      <dc:date>2022-12-20T20:34:56Z</dc:date>
    </item>
    <item>
      <title>Re: On-screen keyboard leaves UI expanded underneath.</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242795#M7</link>
      <description>&lt;P&gt;The problem goes away if I remove my HStack at the bottom of the view.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 20:38:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242795#M7</guid>
      <dc:creator>DuanePfeiffer</dc:creator>
      <dc:date>2022-12-20T20:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: On-screen keyboard leaves UI expanded underneath.</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242848#M8</link>
      <description>&lt;P&gt;This is a Apple/SwiftUI issue. &amp;nbsp;I had to wrap my MapViewReader in a scrollview and scrollview in a GeometryReader. &amp;nbsp;I would have thought Apple would have a better solution by now.&lt;/P&gt;&lt;P&gt;GeometryReader&lt;SPAN&gt; { &lt;/SPAN&gt;&lt;SPAN&gt;geo&lt;/SPAN&gt; &lt;SPAN&gt;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;ScrollView&lt;/SPAN&gt;() {&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;VStack&lt;/SPAN&gt; {&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;MapViewReader { mapViewProxy &lt;SPAN&gt;&lt;STRONG&gt;in&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class=""&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;MapView(map: &lt;SPAN&gt;AppData&lt;/SPAN&gt;.&lt;SPAN&gt;shared&lt;/SPAN&gt;.&lt;SPAN&gt;map&lt;/SPAN&gt;)...&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; }&lt;BR /&gt;&amp;nbsp; &amp;nbsp; }.frame(height:geo.size.height). // ScrollView&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 23:00:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242848#M8</guid>
      <dc:creator>DuanePfeiffer</dc:creator>
      <dc:date>2022-12-20T23:00:48Z</dc:date>
    </item>
    <item>
      <title>Re: On-screen keyboard leaves UI expanded underneath.</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242856#M9</link>
      <description>&lt;P&gt;Hi Duane, thank you for reaching out and welcome to the new beta Swift SDK! I'm glad to see you were able to find a workaround. I'm not sure of the exact requirements you are working with but if you're able to, leaving the scroll view out entirely may also help.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you have any further questions feel free to respond to this or open a new thread!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Dec 2022 23:50:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242856#M9</guid>
      <dc:creator>dfeinzimer</dc:creator>
      <dc:date>2022-12-20T23:50:55Z</dc:date>
    </item>
    <item>
      <title>Re: On-screen keyboard leaves UI expanded underneath.</title>
      <link>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242859#M10</link>
      <description>&lt;P&gt;I had to add the scrollview to fix the initial problem of the view not being restored after the on-screen keyboard was dismissed. Even dismissed from a modal view in full screen! &amp;nbsp;Since I don't fill out any text input from the main map view screen, I don't need that screen to move up when text input happens. &amp;nbsp;Adding the scrollview with proper height prevents my HStack from resizing, thus fixing the issue. &amp;nbsp;So far the new beta Swift SDK is working but I'm just getting started. &amp;nbsp;Next item is location display. &amp;nbsp;Thanks for your input.&lt;/P&gt;</description>
      <pubDate>Wed, 21 Dec 2022 00:03:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/swift-maps-sdk-questions/on-screen-keyboard-leaves-ui-expanded-underneath/m-p/1242859#M10</guid>
      <dc:creator>DuanePfeiffer</dc:creator>
      <dc:date>2022-12-21T00:03:06Z</dc:date>
    </item>
  </channel>
</rss>

