Skip to content
This repository has been archived by the owner on Jun 3, 2024. It is now read-only.

Issue 518 - Fix react dates regression in dash==0.41.0 #519

Merged
merged 4 commits into from
Apr 11, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](http://semver.org/).

## [Unreleased]
### Fixed
- Fix style regression in DatePickerSingle and DatePickerRange [#518](https://github.com/plotly/dash-core-components/issues/518)

## [0.46.0] - 2019-04-10
### Added
- `extendData` prop for `Graph` component. This feeds `Plotly.extendTraces` for incremental data updates. [#461](https://github.com/plotly/dash-core-components/pull/461)
Expand Down
3 changes: 3 additions & 0 deletions src/components/css/react-dates@20.1.0-fix.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DateInput_input {
box-sizing: border-box;
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The react-dates component looks bad if the element is not very wide -- our previous usage and defaults tend to display incorrectly, proper overflow fixes this on our side for now.

1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ import Store from './components/Store.react';
import LogoutButton from './components/LogoutButton.react';

import 'react-dates/lib/css/_datepicker.css';
import './components/css/react-dates@20.1.0-fix.css';

export {
Checklist,
Expand Down