+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut
+ enim ad minim veniam, quis nostrud exercitation ullamco laboris
+ nisi ut aliquip ex ea commodo consequat.
+
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
- eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
- ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat.
+
+ Resize / scroll the viewport to test the behavior of the
+ popovers when they reach the viewport boundaries.
+
+
+ { AVAILABLE_PLACEMENTS.map( ( p ) => (
+
+ { children }
+
+ (placement: { p })
+
+
+ ) ) }
+
),
+ // Excluding placement and position since they all possible values
+ // are passed directly in code.
+ parameters: {
+ controls: {
+ exclude: [ 'placement', 'position' ],
+ },
+ },
+ args: {
+ ...Default.args,
+ children: (
+
+ Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
+ eiusmod tempor incididunt ut labore et dolore magna aliqua.
+
- Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
- eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim
- ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut
- aliquip ex ea commodo consequat.
-