File tree Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Expand file tree Collapse file tree 3 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -22,5 +22,6 @@ node_modules
22
22
* .css
23
23
build
24
24
lib
25
+ es
25
26
coverage
26
27
yarn.lock
Original file line number Diff line number Diff line change 32
32
"build" : " rc-tools run build" ,
33
33
"gh-pages" : " rc-tools run gh-pages" ,
34
34
"start" : " rc-tools run server" ,
35
+ "compile" : " rc-tools run compile" ,
35
36
"pub" : " rc-tools run pub --babel-runtime" ,
36
37
"lint" : " rc-tools run lint" ,
37
38
"karma" : " rc-test run karma" ,
Original file line number Diff line number Diff line change @@ -27,9 +27,10 @@ class Popup extends Component {
27
27
28
28
onAlign = ( popupDomNode , align ) => {
29
29
const props = this . props ;
30
- const alignClassName = props . getClassNameFromAlign ( props . align ) ;
31
30
const currentAlignClassName = props . getClassNameFromAlign ( align ) ;
32
- if ( alignClassName !== currentAlignClassName ) {
31
+ // FIX: https://github.com/react-component/trigger/issues/56
32
+ // FIX: https://github.com/react-component/tooltip/issues/79
33
+ if ( this . currentAlignClassName !== currentAlignClassName ) {
33
34
this . currentAlignClassName = currentAlignClassName ;
34
35
popupDomNode . className = this . getClassName ( currentAlignClassName ) ;
35
36
}
You can’t perform that action at this time.
0 commit comments