We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
https://codesandbox.io/s/tdesign-vue-demo-forked-jw55ky?file=/src/demo.vue
destroyOnClose属性设为true,打开抽屉
console不报错
console报错"TypeError: Cannot read properties of undefined (reading 'focus')"
visible的watcher中应做判断后调用focus:应修改为(this.$refs.drawerContainer as HTMLDivElement)?.focus?.();
The text was updated successfully, but these errors were encountered:
I see
Sorry, something went wrong.
已在 0.36.0 版本中修复
Successfully merging a pull request may close this issue.
重现链接
https://codesandbox.io/s/tdesign-vue-demo-forked-jw55ky?file=/src/demo.vue
重现步骤
destroyOnClose属性设为true,打开抽屉
期望结果
console不报错
实际结果
console报错"TypeError: Cannot read properties of undefined (reading 'focus')"
补充说明
visible的watcher中应做判断后调用focus:应修改为(this.$refs.drawerContainer as HTMLDivElement)?.focus?.();
![image](https://user-images.githubusercontent.com/15522703/156918666-3fb908cc-421d-418c-ac0b-8e4f8b060059.png)
The text was updated successfully, but these errors were encountered: