# 小问题：按钮的鼠标移出区域比鼠标移入区域小

**URL:** <https://meta.discourse.org/t/small-issue-the-mouse-out-area-from-a-button-is-smaller-than-the-mouse-in-area/216233>\
**Category:** UX\
**Created:** [2022 年1 月 27 日 18:04 UTC](https://meta.discourse.org/t/small-issue-the-mouse-out-area-from-a-button-is-smaller-than-the-mouse-in-area/216233 "2022-01-27T18:04:04Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

作者： ![Canapin](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/canapin/32/119591_2.png) [@Canapin](https://meta.discourse.org/u/Canapin)\
发布日期： [2022 年9 月 7 日 12:03 UTC](https://meta.discourse.org/t/small-issue-the-mouse-out-area-from-a-button-is-smaller-than-the-mouse-in-area/216233/7 "2022-09-07T12:03:42Z")

</div>

将“mouseenter”替换为“mouseover”在此处：

> <https://github.com/discourse/discourse/blob/c94a011d9fe334f82e41900b871ca13dff38897d/app/assets/javascripts/discourse/app/components/scrolling-post-stream.js#L354>

可以解决此问题，但我不知道这是否会带来任何不希望的后果。  
乍一看我没有遇到任何问题。

我猜我会让开发人员看看这是否是一个合适的修复程序。

---

_[View the full topic](https://meta.discourse.org/t/small-issue-the-mouse-out-area-from-a-button-is-smaller-than-the-mouse-in-area/216233)._
