File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " rc-trigger" ,
3
- "version" : " 1.6.2 " ,
3
+ "version" : " 1.6.3 " ,
4
4
"description" : " base abstract trigger component for react" ,
5
5
"keywords" : [
6
6
" react" ,
Original file line number Diff line number Diff line change @@ -105,9 +105,10 @@ const Trigger = React.createClass({
105
105
const state = this . state ;
106
106
if ( this . popupRendered ) {
107
107
const self = this ;
108
- self . popupInstance = ReactDOM . unstable_renderSubtreeIntoContainer ( this ,
108
+ ReactDOM . unstable_renderSubtreeIntoContainer ( this ,
109
109
this . getPopupElement ( ) ,
110
- this . getPopupContainer ( ) , ( ) => {
110
+ this . getPopupContainer ( ) , function mounted ( ) {
111
+ self . popupInstance = this ;
111
112
if ( prevState . popupVisible !== state . popupVisible ) {
112
113
props . afterPopupVisibleChange ( state . popupVisible ) ;
113
114
}
You can’t perform that action at this time.
0 commit comments