<turbo-stream action="append" target="posts_list"><template>    <div class="postbit" id="276653" data-post-id="276653">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="KristerV" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/KristerV/120/13808_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  KristerV
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<aside class="quote no-group" data-username="trisolaran" data-post="31" data-topic="49538">
<div class="title">
<div class="quote-controls"></div>
<img alt="" width="24" height="24" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/trisolaran/48/23748_2.png" class="avatar"> trisolaran:</div>
<blockquote>
<p>send_update</p>
</blockquote>
</aside>
<p>awesome! can’t wait for the events based approach.</p>
<p>i’m going to test this thing out again this week as i just really need it <img src="https://forum.elixirforum.com/images/emoji/apple/smiley.png?v=15" title=":smiley:" class="emoji" alt=":smiley:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="276653" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/32">Post #31</a>
	                </div>
	            </div>
              <div id="likers-container-276653" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="276653"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #31"></div>
  </section>
</div>
    <div class="postbit" id="278332" data-post-id="278332">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="trisolaran" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/trisolaran/120/23748_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  trisolaran
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p><strong>Version 1.0.0 is here</strong> <img src="https://forum.elixirforum.com/images/emoji/apple/tada.png?v=15" title=":tada:" class="emoji" alt=":tada:" loading="lazy" width="20" height="20"> <img src="https://forum.elixirforum.com/images/emoji/apple/monkey.png?v=15" title=":monkey:" class="emoji" alt=":monkey:" loading="lazy" width="20" height="20"></p>
<p>Happy to announce this release. It’s been a lot of work, and I definitely fancy a little break from LV  <img src="https://forum.elixirforum.com/images/emoji/apple/laughing.png?v=15" title=":laughing:" class="emoji" alt=":laughing:" loading="lazy" width="20" height="20">, but I’m glad this is finally out!</p>
<p>Here’s the changes:</p>
<ol>
<li>Rendering using a (sexy, new) function component <code>&lt;.live_select /&gt;</code> instead of the (unsexy, old) function style <code>&lt;%= live_select ... %&gt;</code></li>
<li>Dropping the message-based update cycle (which used <code>handle_info/2</code>) in favour of an event-based update cycle (which uses <code>handle_event/3</code>). This makes it much easier and more intuitive to use LiveSelect from another LiveComponent.</li>
<li>Ability to customize the default rendering of dropdown entries and tags using the <code>:option</code> and <code>:tag</code> slots</li>
</ol>
<p>Change (2) is the most important one: folks who were using LiveSelect from a LiveComponent were annoyed because LiveSelect was using messages to request an update, and messages can’t be received by LiveComponents. This was forcing users to place the update logic in the LiveView and not in the LiveComponent where it would naturally reside. But now you can just do:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">&lt;.live_select form={form} field={field} mode={:tags} phx-target={@myself} /&gt;
</code></pre>
<p>and</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">def handle_event("live_select_change", %{"text" =&gt; text, "id" =&gt; live_select_id}, socket) do
   send_update(LiveSelect.Component, id: live_select_id, options: retrieve_options(text))
end
</code></pre>
<p>All in your LiveComponent (or LiveView), and you’re good.</p>
<p>I hope that folks who use LiveComponent-based forms will have a more pleasant experience now.</p>
<p>Change (3) is also kind of cool: you can now override rendering of tags and options using slots.<br>
Say you want to add an icon to your tags or options. Now you can do:</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">&lt;.live_select ...  &gt;
        &lt;:option :let={option}&gt;
          &lt;div class="flex"&gt;
            &lt;.globe /&gt;&amp;nbsp;&lt;%= option.label %&gt;
          &lt;/div&gt;
        &lt;/:option&gt;
        &lt;:tag :let={option}&gt;
            &lt;.check /&gt;&amp;nbsp;&lt;%= option.label %&gt;
        &lt;/:tag&gt;
&lt;/.live_select&gt;
</code></pre>
<p>which would result in this:</p>
<p><img src="https://raw.githubusercontent.com/maxmarcon/live_select/main/priv/static/images/slots.png" alt="" role="presentation" width="248" height="277"></p>
<p>Thanks to anyone who provided feedback so far!</p>
<p>Cheers,<br>
Max</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="278332" data-batch-url="/posts/batch_likers">
                        14
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/33">Post #32</a>
	                </div>
	            </div>
              <div id="likers-container-278332" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="278332"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-most-liked cat-most-liked" title="One of the top 3 liked posts in this thread!"></div>
  </section>
</div>
    <div class="postbit" id="278340" data-post-id="278340">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="zachallaun" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/zachallaun/120/29208_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  zachallaun
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Great changes, Max! Excited to give this a try.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="278340" data-batch-url="/posts/batch_likers">
                        1
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/34">Post #33</a>
	                </div>
	            </div>
              <div id="likers-container-278340" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="278340"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #33"></div>
  </section>
</div>
    <div class="postbit" id="278584" data-post-id="278584">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="KristerV" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/KristerV/120/13808_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  KristerV
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>so nice. just updated. plays so well with my components (many of which are generated by phoenix).</p>
<p>thanks a lot! well deserved version number <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="278584" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/35">Post #34</a>
	                </div>
	            </div>
              <div id="likers-container-278584" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="278584"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #34"></div>
  </section>
</div>
    <div class="postbit" id="278585" data-post-id="278585">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="trisolaran" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/trisolaran/120/23748_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  trisolaran
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Thanks a lot <a class="mention" href="/u/kristerv" rel="nofollow">@KristerV</a> and <a class="mention" href="/u/zachallaun" rel="nofollow">@zachallaun</a> for your kind comments! Much appreciated</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="278585" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/36">Post #35</a>
	                </div>
	            </div>
              <div id="likers-container-278585" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="278585"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #35"></div>
  </section>
</div>
    <div class="postbit" id="278587" data-post-id="278587">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="BartOtten" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/BartOtten/120/25440_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  BartOtten
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Congratz with the 1.0.0 release! You certainly put a lot of effort in it. Thanks for contributing to the ecosystem. One day I’m sure I’ll get to this lib for a webapp I’ll build in the future <img src="https://forum.elixirforum.com/images/emoji/apple/slight_smile.png?v=15" title=":slight_smile:" class="emoji" alt=":slight_smile:" loading="lazy" width="20" height="20"></p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="278587" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/37">Post #36</a>
	                </div>
	            </div>
              <div id="likers-container-278587" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="278587"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #36"></div>
  </section>
</div>
    <div class="postbit" id="282690" data-post-id="282690">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="milangupta" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/milangupta/120/39531_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  milangupta
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi <a class="mention" href="/u/trisolaran" rel="nofollow">@trisolaran</a>,<br>
Firstly, kudos .. your component has matured really nicely ! It is really well thought through and flexible.</p>
<p>I am trying to figure out one kink I am having around the “clickable” area for the options.<br>
Here is how I am calling live_select -</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">      &lt;.live_select
        form={f}
        field={:currency_code}
        placeholder="Select a Currency"
        update_min_len={1}
        style={:daisyui}
      &gt;
        &lt;:option :let={option}&gt;
          &lt;div class="flex"&gt;
            &lt;img src={option.country_flag} class="avatar text-sm w-12 square" /&gt;
          &lt;/div&gt;
        &lt;/:option&gt;
      &lt;/.live_select&gt;
</code></pre>
<p>The issue I am seeing is that the change event doesn’t fire on clicking the image (flag). It only fires when clicking on the blank space on the right of the flag. I have tried various options around styling (tailwind vs daisyui) as well as using block vs. flex. Behavior remains the same ..</p>
<p>Updated : A bit more info - the content that is drawn from the :option slot appears to be obscuring the pointer behavior for the selected option. As long as I click outside the outlined content for the selected dropdown option, it works. Attaching a graphic also.<br>
</p><div class="lightbox-wrapper"><a class="lightbox" href="https://forum.elixirforum.com/uploads/default/original/3X/0/0/000c0b94212bd9ed57adb905d698ee7124d84b2c.png" data-download-href="https://forum.elixirforum.com/uploads/default/000c0b94212bd9ed57adb905d698ee7124d84b2c" title="currency_selector" rel="nofollow"><img src="https://forum.elixirforum.com/uploads/default/original/3X/0/0/000c0b94212bd9ed57adb905d698ee7124d84b2c.png" alt="currency_selector" data-base62-sha1="pO1hg10bSZNzTsJUfBghfdlF2" width="472" height="428"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">currency_selector</span><span class="informations">472×428 20.7 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><p></p>
<p>Any pointers ?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="282690" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/38">Post #37</a>
	                </div>
	            </div>
              <div id="likers-container-282690" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="282690"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #37"></div>
  </section>
</div>
    <div class="postbit" id="282724" data-post-id="282724">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="trisolaran" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/trisolaran/120/23748_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  trisolaran
                    <span class="op-star" title="Thread Starter">
                      <img alt="OP" class="op-star-icon" src="/assets/thread-icons/thread-icon-thread-starter-df91e872.png" />
                    </span>
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Hi <a class="mention" href="/u/milangupta" rel="nofollow">@milangupta</a> and thanks for the nice words.</p>
<p>Also thanks for finding this is bug, I was able to reproduce it.</p>
<p>I pushed a fix on main. Can you please try your application against the latest live_select’s main and let me know?</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="282724" data-batch-url="/posts/batch_likers">
                        2
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/39">Post #38</a>
	                </div>
	            </div>
              <div id="likers-container-282724" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="282724"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #38"></div>
  </section>
</div>
    <div class="postbit" id="282742" data-post-id="282742">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="milangupta" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/milangupta/120/39531_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  milangupta
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Unfortunately, still no luck. I made sure I was pointed to github main branch and that the changes reflected in my deps.</p>
<p>Here is a better picture .. I put the “outline” tag around the custom option elements to show this more clearly. The option when hovered over greys out correctly. However, the selection does not fire if mouse is in the outlined box.<br>
</p><div class="lightbox-wrapper"><a class="lightbox" href="https://forum.elixirforum.com/uploads/default/original/3X/7/a/7ad955a7dc32e60b9598919562add4402e35c911.png" data-download-href="https://forum.elixirforum.com/uploads/default/7ad955a7dc32e60b9598919562add4402e35c911" title="currency_selector" rel="nofollow"><img src="https://forum.elixirforum.com/uploads/default/original/3X/7/a/7ad955a7dc32e60b9598919562add4402e35c911.png" alt="currency_selector" data-base62-sha1="hwLT5P6hlxaNpt5Q8eUu5V3xCBX" width="496" height="175"><div class="meta"><svg class="fa d-icon d-icon-far-image svg-icon" aria-hidden="true"><use href="#far-image"></use></svg><span class="filename">currency_selector</span><span class="informations">496×175 7.41 KB</span><svg class="fa d-icon d-icon-discourse-expand svg-icon" aria-hidden="true"><use href="#discourse-expand"></use></svg></div></a></div><p></p>
<p>I was suspecting this is some css thing .. was looking at z-index etc. It looks like the underlying element is the dropdown option with the registered click handler, however, the custom option elements from the slot are not within that / just overlayed.</p> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="282742" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/40">Post #39</a>
	                </div>
	            </div>
              <div id="likers-container-282742" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="282742"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #39"></div>
  </section>
</div>
    <div class="postbit" id="282743" data-post-id="282743">
  <section>
    <div class="post-wrap">


					<div class="post-header">
		        <div class="user-avatar">
		          <img alt="milangupta" src="https://forum.elixirforum.com/user_avatar/forum.elixirforum.com/milangupta/120/39531_2.png" width="120" height="120" />
		        </div>
					
						<div class="user-details">
		          <div class="user-name">
		            <h3>
                  milangupta
                  </h3>
		          </div>
						
						</div>
					
					</div>

	        <div class="thread-main">
	            <div class="post-body" data-turbo="false">
								<p>Adding z-0 (z-index) to the div wrapper fixed it !<br>
I unfortunately don’t understand it enough to explain why ..</p>
<pre data-code-wrap="elixir"><code class="lang-elixir">      &lt;.live_select
        form={f}
        field={:currency_code}
        placeholder="Select a Currency"
        update_min_len={1}
        style={:daisyui}
      &gt;
        &lt;:option :let={option}&gt;
          &lt;div class="flex outline z-0"&gt;
            &lt;img src={option.country_flag} class="avatar text-sm " /&gt;
            &lt;%= option.currency_code &lt;&gt;
              " | " &lt;&gt; option.country_name &lt;&gt; " | " &lt;&gt; String.upcase(option.currency_name) %&gt;
          &lt;/div&gt;
        &lt;/:option&gt;
      &lt;/.live_select&gt;
</code></pre> 
	            </div>

	            <div class="base-line">
	                <div class="thread-counters">
	                    <span class="thread-count count-likes js-likers-trigger" title="Likes" data-post-id="282743" data-batch-url="/posts/batch_likers">
                        0
                      </span>
                      <!-- <span class="thread-count js-solved-indicator" title="Marked as solution"></span> -->
	                </div>
	                <div class="go-to-post">
	                  <a title="Go to post" alt="Go to post" href="https://forum.elixirforum.com/t/liveselect-dynamic-selection-input-component-for-liveview/49538/41">Post #40</a>
	                </div>
	            </div>
              <div id="likers-container-282743" 
                   class="likers-container"
                   data-first-post="false"
                   data-batch-url="/posts/batch_likers">
                   <div class="likers-placeholder" 
                     data-likers-post-id="282743"
                     data-batch-url="/posts/batch_likers">
                  <div class="post-likers"></div>
                </div>
              </div>
	        </div>
			

    </div>

    <div class="triangle-top-right type-standard-post cat-standard-post" title="Post #40"></div>
  </section>
</div>
</template></turbo-stream><turbo-stream action="replace" target="load-more-container"><template><div id="load-more-container" class="load-more-container">
    <a class="load-more-button" data-turbo-stream="true" href="/topics/49538/load_more?page=5">Load more posts (67 remaining)</a>
</div></template></turbo-stream>