fix(popover): inline popover positioning with fit-content or auto width (#26230)

Resolves #24716
This commit is contained in:
Sean Perkins
2022-11-10 16:17:43 -05:00
committed by GitHub
parent 2080ddce26
commit 0a8a958cba
4 changed files with 42 additions and 2 deletions

View File

@ -928,3 +928,7 @@ export const shouldShowArrow = (side: PositionSide, didAdjustBounds = false, ev?
return true;
};
export const waitOneFrame = () => {
return new Promise<void>((resolve) => raf(() => resolve()));
};