We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug Its seems there is an issue with DatePicker component of material-ui-picker - does not reproduce with create-react-app
To Reproduce
/* eslint-disable import/default */ import {render} from 'react-dom'; import configureStore, {history} from './store/configureStore'; import './styles/styles.scss'; // Yep, that's right. You can import SASS/CSS files too! Webpack will run the associated loader and plug this into the page. import React, {Component} from "react"; import {DatePicker, MuiPickersUtilsProvider} from "material-ui-pickers"; import MomentUtils from 'material-ui-pickers/utils/moment-utils'; import CSSModules from "react-css-modules"; import styles from "./styles/App.scss"; require('./favicon.ico'); // Tell webpack to load favicon.ico const store = configureStore(); class HOCAppContainer extends Component { render() { return ( <MuiPickersUtilsProvider utils={MomentUtils}> HOC <DatePicker /> </MuiPickersUtilsProvider> ); } } const AppContainer = CSSModules(HOCAppContainer, styles); render( <AppContainer />, document.getElementById('app') ); if (module.hot) { module.hot.accept('./components/Root', () => { const NewRoot = require('./components/Root').default; render( <AppContainer> <NewRoot store={store} history={history} /> </AppContainer>, document.getElementById('app') ); }); }
npm start
Expected behavior The selection should stay on the selected day Note: it reproduce only with react-slingshot
Actual behavior The selection "jump" back to the initial selection
Screenshots
Desktop (please complete the following information):
Additional context Could not upload react-slingshot to live example but created the repository with everything above https://github.com/chenop/react-slingshot-material-ui-picker
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
Its seems there is an issue with DatePicker component of material-ui-picker - does not reproduce with create-react-app
To Reproduce
Steps to reproduce
Expected behavior
The selection should stay on the selected day
Note: it reproduce only with react-slingshot
Actual behavior
The selection "jump" back to the initial selection
Screenshots
Desktop (please complete the following information):
Additional context
Could not upload react-slingshot to live example but created the repository with everything above
https://github.com/chenop/react-slingshot-material-ui-picker
The text was updated successfully, but these errors were encountered: