Skip to content

Commit 0422ce4

Browse files
committed
chore(docs): Update docs to suggest using preventOverflow
Alternatively, we can also set preventOverflow to true by default if left or right are used, but it sounds like the team wants to avoid setting defaults like that.
1 parent e5cd151 commit 0422ce4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/react-core/src/helpers/Popper/Popper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export const getOpacityTransition = (animationDuration: number) =>
5151
export interface PopperOptions {
5252
/** popper direction */
5353
direction?: 'up' | 'down';
54-
/** popper position */
54+
/** Horizontal position of the popper. Use the additional prop preventOverflow if seeing clipping. */
5555
position?: 'right' | 'left' | 'center' | 'start' | 'end';
5656
/** Instead of direction and position can set the placement of the popper */
5757
placement?: Placement;

0 commit comments

Comments
 (0)