We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cc59a78 commit 3a20d79Copy full SHA for 3a20d79
frontend/src/app/pages/DashBoardPage/utils/board.ts
@@ -220,7 +220,7 @@ export const isElView = el => {
220
// bottom 元素底部端到可见区域顶端的距离
221
var viewHeight = window.innerHeight || document.documentElement.clientHeight; // 浏览器可见区域高度。
222
223
- if (top < viewHeight && bottom > 0) {
+ if (top <= viewHeight && bottom >= 0) {
224
bool = true;
225
} else if (top >= viewHeight || bottom <= 0) {
226
bool = false;
0 commit comments