Skip to content
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

导航栏切换时的 Bug #193

Closed
3 tasks done
inkss opened this issue Mar 20, 2020 · 9 comments
Closed
3 tasks done

导航栏切换时的 Bug #193

inkss opened this issue Mar 20, 2020 · 9 comments
Labels
bug 验证存在的 BUG debugging 正在调试

Comments

@inkss
Copy link
Member

inkss commented Mar 20, 2020

Issue Checklist

  • I am using the latest version of Volantis.
  • I have reviewed the latest Roadmap on GitHub and searched for current issues, which does not help me.
  • I have reviewed guidelines for Volantis, which does not help me.

手机端下,文章页面中,激活搜索状态,当搜索框展开时,屏幕下滑,文章标题没有切换出来。

@inkss inkss added new labels Mar 20, 2020
@inkss
Copy link
Member Author

inkss commented Mar 20, 2020

不如在下滑的时候顺便把搜索给关了吧,z_search-open,另外,鼠标在点击这几个按钮时看到了轻微的抖动。

@xaoxuu xaoxuu added bug 验证存在的 BUG and removed new labels Mar 20, 2020
xaoxuu added a commit that referenced this issue Mar 20, 2020
@xaoxuu xaoxuu added the debugging 正在调试 label Mar 20, 2020
@xaoxuu
Copy link
Member

xaoxuu commented Mar 20, 2020

我已经更新了,你看看ok不

@inkss
Copy link
Member Author

inkss commented Mar 20, 2020

👌

@inkss inkss closed this as completed Mar 20, 2020
xaoxuu added a commit that referenced this issue Mar 20, 2020
@xaoxuu
Copy link
Member

xaoxuu commented Mar 20, 2020

滚动的时候关闭搜索框不行,手机上一点击搜索就会因为弹出输入法而滚动。。。

@inkss
Copy link
Member Author

inkss commented Mar 20, 2020

好像有点不对,我测试的角度也不太正确,PC下测试时是用滚轮滑动的,没有触摸点击

@inkss
Copy link
Member Author

inkss commented Mar 20, 2020

引用一下这个:

在点击这几个按钮时看到了轻微的抖动。

我仔细观察了下,你的官网 2.2 版本,搜索激活后,在别的空白处点一下,确实有一个轻微的抖动,以前好像是老版本的主题鼠标放在图标上就抖个不停,现在是离开后才有这个抖动。

给样式加了行这个就消失了,虽然我不知道为啥 (´ー∀ー`)

.l_header .switcher>li a {
  line-height: inherit;
}

现象:

@xaoxuu
Copy link
Member

xaoxuu commented Mar 20, 2020

看上去还挺有意思的😂

@xaoxuu
Copy link
Member

xaoxuu commented Mar 20, 2020

应该是涟漪效果导致的,那个插件自带了一套样式,行高、padding之类的,在hover和active的时候就会变

@inkss
Copy link
Member Author

inkss commented Mar 20, 2020

我想起为啥我会特别留意这个了,是 PC 端界面,鼠标移过时出现的抖动,嗯,应该是 hover 无疑了。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 验证存在的 BUG debugging 正在调试
Projects
None yet
Development

No branches or pull requests

2 participants