Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Upgrading material ui to 0.2.0 #168

Merged
merged 3 commits into from
Dec 8, 2017
Merged

Conversation

TimoHanisch
Copy link
Contributor

Material-UI was upgraded to 0.2.0 removing all internal TouchTap references.

changed this.autoComplete.handleItemTouchTap => this.autoComplete.handleItemClick

src/ChipInput.js Outdated
@@ -158,7 +158,7 @@ class ChipInput extends React.Component {
}
}

this.autoComplete.handleItemTouchTap = (event, child) => {
this.autoComplete.handleItemClick = (event, child) => {
Copy link
Member

Choose a reason for hiding this comment

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

In order to keep compatible with v0.19.x, maybe we should also assign this.autoComplete.handleItemTouchTap = this.autoComplete.handleItemClick after that? 🤔

@leMaik
Copy link
Member

leMaik commented Dec 7, 2017

Thank you for your PR! 👍 We should stay backward-compatible to 0.19 (it's a low-hanging fruit), see my review.

@TimoHanisch
Copy link
Contributor Author

TimoHanisch commented Dec 7, 2017

Yep thats true. Probably should revert the peer dependencies in package.json them aswell. Will do an update later 👍

@TimoHanisch
Copy link
Contributor Author

TimoHanisch commented Dec 8, 2017

So, now both versions are supported 👍

@leMaik
Copy link
Member

leMaik commented Dec 8, 2017

Nice, thanks again! 👍
Travis does weird stuff at the moment…

@leMaik leMaik closed this Dec 8, 2017
@leMaik leMaik reopened this Dec 8, 2017
@leMaik leMaik merged commit 6c831fa into TeamWertarbyte:master Dec 8, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants