From f3023800c2d90aca7f7891be4acabe2ae12148d1 Mon Sep 17 00:00:00 2001 From: betavs Date: Thu, 21 Dec 2023 10:58:00 +0800 Subject: [PATCH] fix(grid-item): resolve the issue of ineffective click when hover is true --- src/grid-item/grid-item.less | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/grid-item/grid-item.less b/src/grid-item/grid-item.less index cdf6d338f..1db41c3aa 100644 --- a/src/grid-item/grid-item.less +++ b/src/grid-item/grid-item.less @@ -29,6 +29,7 @@ // float: left; display: inline-block; vertical-align: top; + background-color: @grid-item-bg-color; &--hover { background-color: @grid-item-hover-bg-color; @@ -48,7 +49,6 @@ overflow: hidden; position: relative; padding: @grid-item-padding 0 24rpx; - background-color: @grid-item-bg-color; &--horizontal { flex-direction: row;