<?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 How to control overlapping of select tag's options? in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-control-overlapping-of-select-tag-s-options/m-p/853063#M11070</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a custom widget in which I have a select tag creating using dojo/select (Dropdown) whose items are filled dynamically from RDBMS. Note that I have several long length items in the dropdown. The issue I am facing is that when I click on the select tag for choosing option. The dropdown overlaps in my map div which is outside the parent widget. I expect it to be inside the parent widget. for this I have tried setting the max-width, but this is not adhered and reverts in overlapping of the select tag. Also, I have tried making use of the&amp;nbsp;&lt;A class="link-titled" href="https://dojotoolkit.org/reference-guide/1.7/dojo/setStyle.html" title="https://dojotoolkit.org/reference-guide/1.7/dojo/setStyle.html"&gt;dojo.setStyle — The Dojo Toolkit - Reference Guide&lt;/A&gt;&amp;nbsp;for setting the max-width.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wanted to know if this is an expected behaviour&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;where the layout depends upon on the character length of the item ?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Will provide the dummy sample shortly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 17 Jul 2018 12:51:34 GMT</pubDate>
    <dc:creator>AlifShaikh</dc:creator>
    <dc:date>2018-07-17T12:51:34Z</dc:date>
    <item>
      <title>How to control overlapping of select tag's options?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-control-overlapping-of-select-tag-s-options/m-p/853063#M11070</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am having a custom widget in which I have a select tag creating using dojo/select (Dropdown) whose items are filled dynamically from RDBMS. Note that I have several long length items in the dropdown. The issue I am facing is that when I click on the select tag for choosing option. The dropdown overlaps in my map div which is outside the parent widget. I expect it to be inside the parent widget. for this I have tried setting the max-width, but this is not adhered and reverts in overlapping of the select tag. Also, I have tried making use of the&amp;nbsp;&lt;A class="link-titled" href="https://dojotoolkit.org/reference-guide/1.7/dojo/setStyle.html" title="https://dojotoolkit.org/reference-guide/1.7/dojo/setStyle.html"&gt;dojo.setStyle — The Dojo Toolkit - Reference Guide&lt;/A&gt;&amp;nbsp;for setting the max-width.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Wanted to know if this is an expected behaviour&amp;nbsp;&lt;SPAN style="font-size: 11.0pt;"&gt;where the layout depends upon on the character length of the item ?&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Will provide the dummy sample shortly.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 11.0pt;"&gt;Any help would be appreciated.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Jul 2018 12:51:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-control-overlapping-of-select-tag-s-options/m-p/853063#M11070</guid>
      <dc:creator>AlifShaikh</dc:creator>
      <dc:date>2018-07-17T12:51:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to control overlapping of select tag's options?</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-control-overlapping-of-select-tag-s-options/m-p/853064#M11071</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Alif,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; I kept wait for you to post your sample code... You can control the width of a selects options by adding a css rule like:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="selector token"&gt;.dijitSelectLabel&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;text-align&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;left&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;overflow&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; hidden&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="property token"&gt;width&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt;100px&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 10:31:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/how-to-control-overlapping-of-select-tag-s-options/m-p/853064#M11071</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-12T10:31:07Z</dc:date>
    </item>
  </channel>
</rss>

