File tree Expand file tree Collapse file tree 2 files changed +12
-1
lines changed
app/components/primer/alpha Expand file tree Collapse file tree 2 files changed +12
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ " @primer/view-components " : patch
3
+ ---
4
+
5
+ Bug fix in ActionBar: When collapsed the menu and tooltips aren't visible in Firefox
Original file line number Diff line number Diff line change @@ -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 ( ) {
You can’t perform that action at this time.
0 commit comments