Commit 6497e8c1 authored by Leopoldthecoder's avatar Leopoldthecoder Committed by 杨奕

Carousel: add type="button" to navigation buttons

parent 227508ae
......@@ -9,6 +9,7 @@
:style="{ height: height }">
<transition name="carousel-arrow-left">
<button
type="button"
v-if="arrow !== 'never'"
v-show="arrow === 'always' || hover"
@mouseenter="handleButtonEnter('left')"
......@@ -20,6 +21,7 @@
</transition>
<transition name="carousel-arrow-right">
<button
type="button"
v-if="arrow !== 'never'"
v-show="arrow === 'always' || hover"
@mouseenter="handleButtonEnter('right')"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment