File tree Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Expand file tree Collapse file tree 1 file changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export default {
87
87
},
88
88
direction: {
89
89
type: String ,
90
- default: ' bottom ' ,
90
+ default: config . props . direction ,
91
91
},
92
92
forceUseInfiniteWrapper: {
93
93
type: [Boolean , String ],
@@ -99,15 +99,14 @@ export default {
99
99
onInfinite: Function ,
100
100
},
101
101
watch: {
102
- forceUseInfiniteWrapper () {
103
- this .scrollParent = this .getScrollParent ();
104
- },
105
102
identifier () {
106
103
this .stateChanger .reset ();
107
104
},
108
105
},
109
106
mounted () {
110
- this .scrollParent = this .getScrollParent ();
107
+ this .$watch (' forceUseInfiniteWrapper' , () => {
108
+ this .scrollParent = this .getScrollParent ();
109
+ }, { immediate: true });
111
110
112
111
this .scrollHandler = function scrollHandlerOriginal (ev ) {
113
112
if (! this .isLoading ) {
You can’t perform that action at this time.
0 commit comments