File tree Expand file tree Collapse file tree 3 files changed +6
-2
lines changed
Expand file tree Collapse file tree 3 files changed +6
-2
lines changed Original file line number Diff line number Diff line change 11# History
22----
33
4+ ## 1.9.1 2018-05-10
5+
6+ - Fix invalid aria-expanded prop in preact
7+
48## 1.9.0 2018-04-02
59
610- Add keyboard support [ #84 ] ( https://github.com/react-component/collapse/pull/84 )
Original file line number Diff line number Diff line change 11{
22 "name" : " rc-collapse" ,
3- "version" : " 1.9.0 " ,
3+ "version" : " 1.9.1 " ,
44 "description" : " rc-collapse ui component for react" ,
55 "keywords" : [
66 " react" ,
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ class CollapsePanel extends Component {
4949 onClick = { this . handleItemClick }
5050 role = { accordion ? 'tab' : 'button' }
5151 tabIndex = { disabled ? - 1 : 0 }
52- aria-expanded = { isActive }
52+ aria-expanded = { ` ${ isActive } ` }
5353 onKeyPress = { this . handleKeyPress }
5454 >
5555 { showArrow && < i className = "arrow" /> }
You can’t perform that action at this time.
0 commit comments