Hi
The expand widget in 4.16 works fine in normal large view. But brings a drawer like panel when the screen size is small (Mobile Display). I want to keep the same normal expand irrespective of the screen size. how can i make it please.
You can define the expand.mode to match what you what you are looking for.
Expand | ArcGIS API for JavaScript 4.17
<SPAN class="keyword token">const</SPAN> expand <SPAN class="operator token">=</SPAN> <SPAN class="keyword token">new</SPAN> <SPAN class="token class-name">Expand</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="punctuation token">{</SPAN> content<SPAN class="punctuation token">:</SPAN> widget<SPAN class="punctuation token">,</SPAN> mode<SPAN class="punctuation token">:</SPAN> <SPAN class="string token">"floating"</SPAN> <SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>
Thanks.
Signed in members can post, follow updates, and more. New here? Register a free account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.