You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: packages/uui-popover-container/lib/uui-popover-container.mdx
+24-3Lines changed: 24 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -6,10 +6,31 @@ import * as stories from './uui-popover-container.story';
6
6
# Popover Container
7
7
8
8
This component is a container for popovers. It is used to position the popover relative to the target element.
9
-
It is also a native popover. So everything descriped in the [Popover documentation](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API) applies.
10
-
11
-
However when used with UUIButton, the popovertargetaction property will not work, and defaults too toggle.
9
+
It is also a native popover. So everything descriped in the **[Popover documentation](https://developer.mozilla.org/en-US/docs/Web/API/Popover_API)** applies.
12
10
11
+
<div
12
+
style={{
13
+
borderLeft: '10px solid #f3d41b',
14
+
background: '#f3d41b24',
15
+
padding: '0px 12px',
16
+
display: 'flex',
17
+
}}>
18
+
When used with UUIButton or any element that is not a native button or input,
19
+
the popovertargetaction property will not work, and defaults too toggle.
20
+
</div>
21
+
<br />
22
+
<div
23
+
style={{
24
+
borderLeft: '10px solid #e25555',
25
+
background: '#e2555512',
26
+
padding: '0px 12px',
27
+
display: 'flex',
28
+
}}>
29
+
This is experimental and will not work in all browsers. See **[Popover
0 commit comments