react-weekday-picker
react-weekday-picker copied to clipboard
on latest React, WeekdayPicker throws unknown prop errors for onTouchTap
After upgrading to React 15.4.1, I get this error whenever a WeekdayPicker renders:
Warning: Unknown prop `onTouchTap` on <button> tag. Remove this prop from the element. For details, see https://fb.me/react-unknown-prop
in button (created by WeekdayPicker)
@ntdb: the Wiki Ed Dashboard doesn't use the onTouchTap feature. Maybe it could be removed altogether, or conditionally assigned to the button only if present?
Currently it breaks our Poltergeist tests when the front-end is built in development mode.
@ntdb ping :-)
@ragesoss I would be happy to merge and publish a PR! This library is pretty far out of date at this point and it's tough for me to keep up when I'm not using it regularly, sorry about that. The react-day-picker repo this is based off of abandoned onTouchTap a while ago for onTouchStart and onTouchEnd.
@ntdb thanks Nate! A PR was on my todo list, but if it's more broadly out of date, it'll probably make more sense to just copy it into the app and maintain it from there. What do you think?
@ragesoss you totally have my blessing to do that. If I pick this library back up in the future I'll definitely look at what you're doing first.