Skip to content

Commit

Permalink
fix(popover): Update positioning priority
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonVay committed May 28, 2020
1 parent 6102c44 commit 496df01
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mosaic/core/overlay/overlay-position-map.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,7 @@ export const LEFT_BOTTOM_POSITION_PRIORITY = objectValues([

export const TOP_LEFT_POSITION_PRIORITY = objectValues([
POSITION_MAP.topLeft,
POSITION_MAP.topRight,
POSITION_MAP.bottomLeft,
POSITION_MAP.bottom,
POSITION_MAP.bottomRight,
Expand All @@ -181,6 +182,7 @@ export const TOP_LEFT_POSITION_PRIORITY = objectValues([

export const TOP_RIGHT_POSITION_PRIORITY = objectValues([
POSITION_MAP.topRight,
POSITION_MAP.topLeft,
POSITION_MAP.bottomRight,
POSITION_MAP.bottom,
POSITION_MAP.bottomLeft,
Expand All @@ -190,6 +192,7 @@ export const TOP_RIGHT_POSITION_PRIORITY = objectValues([

export const BOTTOM_RIGHT_POSITION_PRIORITY = objectValues([
POSITION_MAP.bottomRight,
POSITION_MAP.bottomLeft,
POSITION_MAP.topRight,
POSITION_MAP.top,
POSITION_MAP.topLeft,
Expand All @@ -199,6 +202,7 @@ export const BOTTOM_RIGHT_POSITION_PRIORITY = objectValues([

export const BOTTOM_LEFT_POSITION_PRIORITY = objectValues([
POSITION_MAP.bottomLeft,
POSITION_MAP.bottomRight,
POSITION_MAP.topLeft,
POSITION_MAP.top,
POSITION_MAP.topRight,
Expand Down

0 comments on commit 496df01

Please sign in to comment.