mirror of
https://github.com/misskey-dev/misskey.git
synced 2026-06-04 00:44:22 +02:00
enhance(frontend): 子メニュー表示時のガードがradioでも効くように
This commit is contained in:
@@ -132,6 +132,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
|||||||
:class="['_button', $style.item, $style.parent, { [$style.active]: childShowingItem === item }]"
|
:class="['_button', $style.item, $style.parent, { [$style.active]: childShowingItem === item }]"
|
||||||
:disabled="unref(item.disabled)"
|
:disabled="unref(item.disabled)"
|
||||||
@mouseenter.prevent="preferClick ? null : showRadioOptions(item, $event)"
|
@mouseenter.prevent="preferClick ? null : showRadioOptions(item, $event)"
|
||||||
|
@mousemove="parentMouseMove"
|
||||||
@keydown.enter.prevent="preferClick ? null : showRadioOptions(item, $event)"
|
@keydown.enter.prevent="preferClick ? null : showRadioOptions(item, $event)"
|
||||||
@click.prevent="!preferClick ? null : showRadioOptions(item, $event)"
|
@click.prevent="!preferClick ? null : showRadioOptions(item, $event)"
|
||||||
>
|
>
|
||||||
|
|||||||
Reference in New Issue
Block a user