Skip to content

Commit 84d3a06

Browse files
committed
2 parents 60cddf8 + 6157616 commit 84d3a06

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020

2121
### Client
2222
- Fix: サーバーメトリクスが90度傾いている
23+
- Fix: sparkle内にリンクを入れるとクリック不能になる問題の修正
2324

2425
## 13.13.2
2526

packages/frontend/src/components/MkSparkle.vue

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,8 @@
3232
</path>
3333
</svg>
3434
-->
35-
<svg v-for="particle in particles" :key="particle.id" :width="width" :height="height" :viewBox="`0 0 ${width} ${height}`" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -32px; left: -32px;">
35+
<!-- MFMで上位レイヤーに表示されるため、リンクをクリックできるようにstyleにpointer-events: none;を付与。 -->
36+
<svg v-for="particle in particles" :key="particle.id" :width="width" :height="height" :viewBox="`0 0 ${width} ${height}`" xmlns="http://www.w3.org/2000/svg" style="position: absolute; top: -32px; left: -32px; pointer-events: none;">
3637
<path
3738
style="transform-origin: center; transform-box: fill-box;"
3839
:transform="`translate(${particle.x} ${particle.y})`"
@@ -115,6 +116,5 @@ onUnmounted(() => {
115116
.root {
116117
position: relative;
117118
display: inline-block;
118-
pointer-events: none;
119119
}
120120
</style>

0 commit comments

Comments
 (0)