From 68fb450e2cf974af0cf711ced378b30b9f0d2683 Mon Sep 17 00:00:00 2001 From: Osipov Vladimir Date: Tue, 15 Jan 2019 11:56:57 +0300 Subject: [PATCH] fix(DateInput): auto placement --- src/components/DateInput/DateInput.js | 2 +- src/components/Dropdown/DropdownBody.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/DateInput/DateInput.js b/src/components/DateInput/DateInput.js index a3191656..9f36c852 100644 --- a/src/components/DateInput/DateInput.js +++ b/src/components/DateInput/DateInput.js @@ -305,7 +305,7 @@ class DateInput extends React.Component { - + diff --git a/src/components/Dropdown/DropdownBody.js b/src/components/Dropdown/DropdownBody.js index 559c132d..11497cb8 100644 --- a/src/components/Dropdown/DropdownBody.js +++ b/src/components/Dropdown/DropdownBody.js @@ -17,7 +17,7 @@ type DropdownBodyProps = { children: React$Node | ({ closeDropdown: () => void }) => React$Node, /** Default content position relative target */ - placement?: 'top' | 'left' | 'bottom' | 'right', + placement?: 'top' | 'left' | 'bottom' | 'right' | 'auto', /** Default content align relative target*/ pin?: 'left' | 'right', /** Set body offset relative target */