Skip to content

Commit 3df89db

Browse files
authored
Merge pull request react-dates#215 from airbnb/maja-fix-daypicker-width-issue
Adds back DayPickerWidth initialization on componentDidMount
2 parents 0b872b0 + 09d7b75 commit 3df89db

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/components/DayPicker.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ export default class DayPicker extends React.Component {
9696
componentDidMount() {
9797
if (this.isHorizontal()) {
9898
this.adjustDayPickerHeight();
99+
this.initializeDayPickerWidth();
99100
}
100101
}
101102

0 commit comments

Comments
 (0)