Skip to content
New issue

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

'react-datetime-picker--closed' className doesn't change to '--open' when calendar is open #190

Closed
tabrez96 opened this issue Sep 19, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@tabrez96
Copy link

Description of the issue:
The baseClass 'react-datetimerange-picker' has a subClass which adds '--open' and '--closed' depending on the state of the calendar. It should render with 'react-datetimerange-picker--open' if calendar is open and 'react-datetimerange-picker--closed' if calendar is closed. But currently, it always renders with 'react-datetimerange-picker--closed' even if calendar is open.

It used to work in 3.0.0 but not working in 4.0.0

Demo using 4.0.0: https://stackblitz.com/edit/react-datetimepicker-xbe4uj?file=src%2FApp.js

@wojtekmaj
Copy link
Owner

Thanks, you're totally right, that's a regresion. Fixed!

@wojtekmaj wojtekmaj added the bug Something isn't working label Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants