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

Remove overflowY:scroll on CalendarMonthGrid #1881

Conversation

kaesonho
Copy link

@kaesonho kaesonho commented Dec 10, 2019

Not sure if this makes sense, but for vertical scrollable, we rely on the DayPicker container to do vertical scrolling, https://github.com/airbnb/react-dates/blob/7c58d6d6aadf0061980f1adeb52465c2606d58ac/src/components/DayPicker.jsx#L1310

and CalendarMonthGrid works as the content inside it, it doesn't look like we need a overflowY:scroll here

https://github.com/airbnb/react-dates/blob/7c58d6d6aadf0061980f1adeb52465c2606d58ac/src/components/CalendarMonthGrid.jsx#L399

with this it seems cause double scroll bars in some browsers. for this case, it's Chrome 78, Google Pixel 3, 9.0

QA-2377

@caseklim @kevinthepan @noratarano @ljharb

Copy link
Contributor

@kevinthepan kevinthepan left a comment

Choose a reason for hiding this comment

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

LGTM!

@kevinthepan kevinthepan merged commit 76a0005 into react-dates:master Dec 10, 2019
@kaesonho kaesonho deleted the kaesonho--remove-overflow-scroll-on-calendarmonth-grid branch December 11, 2019 17:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants