@momentum-design/components 0.38.1 → 0.39.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -332,7 +332,7 @@ class Popover extends FocusTrapMixin(Component) {
332
332
  setupTriggerListener() {
333
333
  if (!this.triggerID)
334
334
  return;
335
- this.triggerElement = this.getRootNode().querySelector(`#${this.triggerID}`);
335
+ this.triggerElement = this.getRootNode().querySelector(`[id="${this.triggerID}"]`);
336
336
  if (!this.triggerElement)
337
337
  return;
338
338
  if (this.trigger === 'mouseenter') {