提交 1661dccd 编写于 作者: G Guillaume Chau

fix(scroll to component): re-draw highlighter to be on right position

上级 ab0ebfd7
......@@ -81,7 +81,10 @@ function connect (Vue) {
bridge.on('scroll-to-instance', id => {
const instance = findInstanceOrVnode(id)
instance && scrollIntoView(instance)
if (instance) {
scrollIntoView(instance)
highlight(instance)
}
})
bridge.on('filter-instances', _filter => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册