-
-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sticky 应用在隐藏/显示元素高度不会重新计算 #1549
Comments
由于内部组件 是无法感知父组件的 v-show 的变化的,所以需要你在 v-show 变化的时候手动处理一下。 click() {
this.show = !this.show
this.$refs.sticky.reset()
} ps: #1550 更新一下代码 |
当应用在响应式布局中,无法使用事件的方式处理。例如:sm='0' :md='1'的元素下无法用事件的方式,可能我要想其它方式实现了 |
我又更新了下,你可以试试 |
谢谢大大 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
包裹Sticky的标签隐藏后在显示,Sticky高度为0
The text was updated successfully, but these errors were encountered: