<?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: JQuery Drag panel causing white margin to the right of the window in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90463#M8235</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That is it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Nov 2015 17:21:44 GMT</pubDate>
    <dc:creator>AlexGole</dc:creator>
    <dc:date>2015-11-09T17:21:44Z</dc:date>
    <item>
      <title>JQuery Drag panel causing white margin to the right of the window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90461#M8233</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all, I am using JQuery drag function to allow users to drag their panels around. It works great but I am experiencing some issues when dragged out of the document to the right. It seems like&amp;nbsp; it is causing a white margin to appear to the right of the window. Any idea?&lt;A href="https://jsbin.com/peroxuqaxu/edit?html,console,output"&gt; jsbin.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jsbin.com/peroxuqaxu/edit?html,console,output"&gt; &lt;/A&gt;​&lt;IMG alt="Capture.PNG" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/139127_Capture.PNG" style="width: 620px; height: 349px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Nov 2015 18:57:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90461#M8233</guid>
      <dc:creator>AlexGole</dc:creator>
      <dc:date>2015-11-05T18:57:07Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery Drag panel causing white margin to the right of the window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90462#M8234</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Look into the properties available to the draggable functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have: $('.LayerDrag').draggable({});&lt;/P&gt;&lt;P&gt;Add constrainment like this: $('.LayerDrag').draggable({ constrainment: '#divName' });&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;'#divName' would be the container you want your draggable to stay within, like, your DOM element that you put your map in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note: For your QueryDrag element, you only have "draggable()". You'd need the {} to add draggable properties, like above.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://jqueryui.com/draggable/#constrain-movement"&gt;https://jqueryui.com/draggable/#constrain-movement&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Nov 2015 15:47:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90462#M8234</guid>
      <dc:creator>TyroneBiggums</dc:creator>
      <dc:date>2015-11-06T15:47:34Z</dc:date>
    </item>
    <item>
      <title>Re: JQuery Drag panel causing white margin to the right of the window</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90463#M8235</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks! That is it!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Nov 2015 17:21:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/jquery-drag-panel-causing-white-margin-to-the/m-p/90463#M8235</guid>
      <dc:creator>AlexGole</dc:creator>
      <dc:date>2015-11-09T17:21:44Z</dc:date>
    </item>
  </channel>
</rss>

