@primer/view-components 0.16.0 → 0.16.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.
@@ -60,7 +60,13 @@ let ActionBarElement = class ActionBarElement extends HTMLElement {
60
60
  }
61
61
  resizeObserver.observe(this);
62
62
  instersectionObserver.observe(this);
63
- requestAnimationFrame(() => this.update());
63
+ requestAnimationFrame(() => {
64
+ // This overflow visible is needed for browsers that don't support PopoverElement
65
+ // to ensure the menu and tooltips are visible when the action bar is in a collapsed state
66
+ // once popover is fully supported we can remove this.style.overflow = 'visible'
67
+ this.style.overflow = 'visible';
68
+ this.update();
69
+ });
64
70
  }
65
71
  disconnectedCallback() {
66
72
  resizeObserver.unobserve(this);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@primer/view-components",
3
- "version": "0.16.0",
3
+ "version": "0.16.1",
4
4
  "description": "ViewComponents for the Primer Design System",
5
5
  "main": "app/assets/javascripts/primer_view_components.js",
6
6
  "module": "app/components/primer/primer.js",