Comments (3)
If you check the calendar now it doesn't happen anymore. For me, because is twelve o'clock and some minutes now. But I've seen the reported issue ten minutes ago (before twelve o'clock). This is a weird issue and it will probably take a lot of time to find a solution, because it's not easy to debug. Dates in javascript are not perfect.
from hotel-datepicker.
I think it has nothing to do with Javascript dates. Bug can be reproduced simply by, firstly, selecting some date in right calendar (for example 14.04.2018.), then skip in right calendar to next month, then skip in right calendar back, and date is disabled.
When I inspect this element, I see datepicker__month-day--invalid styling added:
When I click on some other date, 14.04.2018. stays disabled.
It looks to me, that something wrong happens when calendar is in state with only one date selected, and then users scrolls through months.
from hotel-datepicker.
Fixed - a7099f7
from hotel-datepicker.
Related Issues (20)
- variable minimum nights as per checkin dates HOT 1
- Is it possible to pass valuable to stateDate? HOT 1
- min_date and disabled dates HOT 2
- Feature Request HOT 6
- Feature request: Ajax loading or API methods HOT 2
- clearButton does not display in topBar when clearButton: true and showTopbar: true HOT 3
- Which Date Format Should I Have to Use for setRange
- Display price below each date HOT 2
- Feature request - getRange(d1, d2) HOT 1
- disabledDates not working HOT 2
- tabindex on parent element breaks datepicker HOT 2
- When using extraDayText, can't select date by clicking on extra text (bug?) HOT 5
- Flexible minNights HOT 1
- When select the dates from the picker need to assign both check-in and check-out dates separately to another input field values HOT 1
- Small Questions HOT 2
- Feature request: minNights depending on a certain timeframe HOT 2
- Add disabled dates after initialize, and preload date range from session storage HOT 2
- Unexpected getNights() result HOT 2
- Date format HOT 1
- Calendar display in mobile HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hotel-datepicker.