If you are using SUI 2.3.2 or older version, you need to update the dropdown button markup when you upgrade to SUI 2.3.3.
If you are using individual js components, dropdowns.js is required.
<div class="sui-dropdown"> <button class="sui-button-icon sui-dropdown-anchor" aria-label="Dropdown"> <span class="sui-icon-widget-settings-config" aria-hidden="true"></span> </button> <ul> <li><button>CTA Button</button></li> <li><a href="http://external-link.com/" target="_blank">External link</a></li> <li><button><span class="sui-icon-trash" aria-hidden="true"></span> Button with icon</button></li> </ul> </div>
sui-dropdown-right class. For example:
<div class="sui-dropdown sui-dropdown-right"> <!-- The rest of the element goes here --> </div>
sui-dropdown-center class. For example:
<div class="sui-dropdown sui-dropdown-center"> <!-- The rest of the element goes here --> </div>