You've already forked AstralRinth
chore: misc moderation changes (#6296)
* feat: report filter by target, issue type, project type * fix: reply modal showing up for staff * chore: change minimum class source from 10 to 2
This commit is contained in:
@@ -70,7 +70,7 @@
|
||||
class="h-5 w-5 shrink-0"
|
||||
/>
|
||||
<span class="min-w-0 truncate text-primary font-semibold leading-tight">
|
||||
<slot name="selected">{{ triggerText }}</slot>
|
||||
<slot name="selected" :label="triggerText">{{ triggerText }}</slot>
|
||||
</span>
|
||||
</div>
|
||||
<div class="flex items-center gap-1">
|
||||
|
||||
@@ -13,11 +13,13 @@ const props = withDefaults(
|
||||
disabled?: boolean
|
||||
buttonClass?: string
|
||||
panelClass?: string
|
||||
autoFocus?: boolean
|
||||
}>(),
|
||||
{
|
||||
placement: 'bottom-end',
|
||||
distance: 8,
|
||||
disabled: false,
|
||||
autoFocus: true,
|
||||
},
|
||||
)
|
||||
|
||||
@@ -157,9 +159,11 @@ async function open() {
|
||||
await updatePanelPosition()
|
||||
startPositionTracking()
|
||||
|
||||
setTimeout(() => {
|
||||
focusPanelContent()
|
||||
}, 50)
|
||||
if (props.autoFocus) {
|
||||
setTimeout(() => {
|
||||
focusPanelContent()
|
||||
}, 50)
|
||||
}
|
||||
}
|
||||
|
||||
function close() {
|
||||
|
||||
Reference in New Issue
Block a user