I currently have a div with multiple child elements. I followed the popover settings provided in the documentation. However, when I click on my element, the popover only appears when I click outside of its children. For instance, if I click on the user profile image icon or the username, the popover doesn't show up. But if I click on the white space within the element but not directly on them, it does appear. See the image below:
https://i.sstatic.net/SBu2E.png
<div class="user-info user-image chat_user loadChatroom friend-view" data-toggle="popover" data-placement="top" data-content="content.">
<span class="user-pic">
<%= image_tag friend.profile_image_url, class: "img-fluid profileImage" %>
</span>
<span>
<strong><%= friend.user_name %></strong>
</span>
</div>
Despite searching online, I couldn't find any relevant information about this issue. Any help would be greatly appreciated. Thank you!