Browse Source

Fix missing overflow config, ref #6830

pull/6824/merge
afc163 7 years ago
parent
commit
3ca9be1bf6
  1. 5
      components/tooltip/placements.tsx

5
components/tooltip/placements.tsx

@ -92,7 +92,10 @@ export default function getPlacements(config: PlacementsConfig = {}) {
...placementMap[key],
overflow: getOverflowOptions(autoAdjustOverflow),
targetOffset,
} : rcPlacements[key];
} : {
...rcPlacements[key],
overflow: getOverflowOptions(autoAdjustOverflow),
};
});
return placementMap;
}

Loading…
Cancel
Save