-
Notifications
You must be signed in to change notification settings - Fork 78
feat: upgrade fundamental-styles to 0.8.0-rc.16 #957
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
Conversation
|
Deploy preview for fundamental-react ready! Built with commit ea28cc1 |
| key={month} name={month} | ||
| onClick={() => this.changeMonth(month)}> | ||
| onClick={() => this.changeMonth(month)} | ||
| onFocus={this.handleMonthFocus(month)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be onFocus={() => this.handleMonthFocus(month)}>?
| name={element} | ||
| onClick={() => this.changeYear(element)}> | ||
| onClick={() => this.changeYear(element)} | ||
| onFocus={this.handleYearFocus(element)}> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be onFocus={() => this. handleYearFocus(element)}>?
| data-is-focused={day.isSame(currentDateDisplayed)} | ||
| key={copyDate} | ||
| onClick={isEnabledDate(day, this.props) ? () => this.dateClick(copyDate, enableRangeSelection) : null} | ||
| onFocus={this.handleDayFocus(day)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should this be onFocus={() => this.handleDayFocus(day)}?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lint complains about creating a function in a loop. This is why the function declarations you pointed out seem weird as well. Yes, even though the onClick looks the same, just the focus one triggered the lint rule.
Description
Calendar before:
Calendar after:
Radio/checkbox before:
Radio/checkbox after:
