eddiemf / vue-affix

A Vue.js plugin that affixes an element on the window while scrolling based on a relative element
MIT License
406 stars 38 forks source link

scrollAffix mode does not work if scrollContainerSelector is set #52

Open OrelSBinoklem opened 4 years ago

OrelSBinoklem commented 4 years ago

Because this.scrollContainer.innerHeight work for window need to clientHeight

rootsli commented 3 years ago

me too! Is there any solution?

OrelSBinoklem commented 3 years ago

https://github.com/OrelSBinoklem/laravel-vue-auth-admin-test/blob/develop/resources/js/components/plain-plugins/MyAffix.vue search lines includes "clientHeight"