Auto close pulldowns on outside click
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="relative">
|
||||
<div class="relative" tabindex="0" @focusout="visible = false">
|
||||
<button class="button bg-button button--small w-full"
|
||||
type="button"
|
||||
@click.prevent="visible = !visible">
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="relative" v-if="hasSelectedRentals">
|
||||
<div class="relative" v-if="hasSelectedRentals" tabindex="0" @focusout="visible = false">
|
||||
<button class="button bg-button button--small" @click.prevent="visible = !visible">
|
||||
<span>
|
||||
Größen
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="relative">
|
||||
<div class="relative" tabindex="0" @focusout="visible = false">
|
||||
<button class="button bg-button button--small" @click.prevent="visible = !visible">
|
||||
<span>
|
||||
Zustieg
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div class="relative" v-if="hasServices">
|
||||
<div class="relative" v-if="hasServices" tabindex="0" @focusout="visible = false">
|
||||
<button class="button bg-button button--small" type="button" @click.prevent="visible = !visible">
|
||||
<span>
|
||||
{{ subType.label }}
|
||||
|
||||
Reference in New Issue
Block a user