primer_view_components 0.16.0 → 0.16.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -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);
@@ -50,7 +50,13 @@ class ActionBarElement extends HTMLElement {
50
50
  resizeObserver.observe(this)
51
51
  instersectionObserver.observe(this)
52
52
 
53
- requestAnimationFrame(() => this.update())
53
+ requestAnimationFrame(() => {
54
+ // This overflow visible is needed for browsers that don't support PopoverElement
55
+ // to ensure the menu and tooltips are visible when the action bar is in a collapsed state
56
+ // once popover is fully supported we can remove this.style.overflow = 'visible'
57
+ this.style.overflow = 'visible'
58
+ this.update()
59
+ })
54
60
  }
55
61
 
56
62
  disconnectedCallback() {
@@ -6,7 +6,7 @@ module Primer
6
6
  module VERSION
7
7
  MAJOR = 0
8
8
  MINOR = 16
9
- PATCH = 0
9
+ PATCH = 1
10
10
 
11
11
  STRING = [MAJOR, MINOR, PATCH].join(".")
12
12
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: primer_view_components
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.16.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitHub Open Source