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

Hides the TetherComponent appropriately #131

Merged
merged 1 commit into from
Oct 18, 2016

Conversation

majapw
Copy link
Collaborator

@majapw majapw commented Oct 18, 2016

FIx for #125

Ooops, while the DateRangePicker__picker--show and DateRangePicker__picker--invisible do the right thing, when they are wrapped in a top-level div without these restrictions, they actually prevent point-events on anything rendered beneath them. This is... pretty bad.

This fixes the problem by applying the show/hide logic directly to the TetherComponent. I also updated the tests and added a story to make sure you can interact with other form elements rendered beneath the datepicker.

to: @airbnb/webinfra @ingro @zeroasterisk @tvanro

@coveralls
Copy link

Coverage Status

Coverage remained the same at 88.043% when pulling aa141e6 on maja-fix-react-tether-overlay-issue into aa09b09 on master.

@majapw majapw merged commit 9456100 into master Oct 18, 2016
@majapw majapw deleted the maja-fix-react-tether-overlay-issue branch October 18, 2016 18:41
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.

3 participants