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

support aria #260

Merged
merged 1 commit into from
May 31, 2017
Merged

support aria #260

merged 1 commit into from
May 31, 2017

Conversation

silentcloud
Copy link
Member

@silentcloud silentcloud commented Apr 27, 2017

@coveralls
Copy link

Coverage Status

Coverage remained the same at 50.0% when pulling 7fa9ee9 on support-aria into 441779c on master.

@@ -4,15 +4,23 @@ import PropTypes from 'prop-types';
export default class Handle extends React.Component {
render() {
const {
className, vertical, offset, handleStyle, ...restProps,
className, vertical, offset, handleStyle, disabled, min, max, value, ...restProps,
Copy link
Member

Choose a reason for hiding this comment

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

这里会导致下面的 handle div 少一个 disabled 属性吧

Copy link
Member Author

Choose a reason for hiding this comment

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

div 不应该有 disabled 属性吧 @paranoidjk

Copy link
Member

Choose a reason for hiding this comment

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

恩,是的,看来是之前的代码有bug,那这里会导致snapshot都要更新了
https://stackoverflow.com/questions/6307586/how-should-disabled-div-act

@@ -21,7 +21,7 @@ const handle = (props) => {
placement="top"
key={index}
>
<Handle {...restProps} />
<Handle value={value} {...restProps} />
Copy link
Member

Choose a reason for hiding this comment

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

ant-design 少个value,break change,rc-slider 要发大版本。

到 ant-design 那边也提个PR WIP 修下吧

Copy link
Member Author

Choose a reason for hiding this comment

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

@paranoidjk
Copy link
Member

ping @silentcloud 这个进度怎么样了?

@silentcloud
Copy link
Member Author

silentcloud commented May 31, 2017

囧,消息通知太多,可能没看到,等会看看

@silentcloud
Copy link
Member Author

done

@paranoidjk paranoidjk merged commit 72db741 into master May 31, 2017
@paranoidjk paranoidjk deleted the support-aria branch May 31, 2017 11:05
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