<?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: Can you use CSS Flexbox layout with JS API? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-you-use-css-flexbox-layout-with-js-api/m-p/106682#M9863</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used flexbox a lot with the JS API, but I've avoided placing the map div inside a flexbox. &amp;nbsp;I've always isolated the map div from the rest of the page that heavily use flexbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may get a chance to try to make&amp;nbsp;a sample that places a map inside a flexbox. &amp;nbsp;Can you provide some details about how your map div is positioned? &amp;nbsp;Is it a item/child within a flexbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 11 Aug 2017 17:30:27 GMT</pubDate>
    <dc:creator>ThomasSolow</dc:creator>
    <dc:date>2017-08-11T17:30:27Z</dc:date>
    <item>
      <title>Can you use CSS Flexbox layout with JS API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-you-use-css-flexbox-layout-with-js-api/m-p/106681#M9862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I tried to switch to a css flexbox layout for my overall web page layout and the map behaves very very poorly. I tried different combinations of positions and flex options, but the map either ignores other blocks, shrinks down to a small square, or only fills the screen in one direction. Has anyone successfully done this? The only way I can really get the map positioned where I want it is I use position: fixed on the map div and work around it, and that doesn't work with flexbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;btw, I am on 3.18.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 10 Aug 2017 16:06:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-you-use-css-flexbox-layout-with-js-api/m-p/106681#M9862</guid>
      <dc:creator>KennethLathan</dc:creator>
      <dc:date>2017-08-10T16:06:04Z</dc:date>
    </item>
    <item>
      <title>Re: Can you use CSS Flexbox layout with JS API?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-you-use-css-flexbox-layout-with-js-api/m-p/106682#M9863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've used flexbox a lot with the JS API, but I've avoided placing the map div inside a flexbox. &amp;nbsp;I've always isolated the map div from the rest of the page that heavily use flexbox.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I may get a chance to try to make&amp;nbsp;a sample that places a map inside a flexbox. &amp;nbsp;Can you provide some details about how your map div is positioned? &amp;nbsp;Is it a item/child within a flexbox?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 11 Aug 2017 17:30:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-you-use-css-flexbox-layout-with-js-api/m-p/106682#M9863</guid>
      <dc:creator>ThomasSolow</dc:creator>
      <dc:date>2017-08-11T17:30:27Z</dc:date>
    </item>
  </channel>
</rss>

