Skip to content

Commit

Permalink
search: fix no focus on iOS safari when autoFixed is true (#2114)
Browse files Browse the repository at this point in the history
 修复search组件在ios safari不弹出键盘的问题 (#2114)
  • Loading branch information
naifen00 authored and airyland committed Oct 26, 2017
1 parent 3ba13bb commit 439835a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/search/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="weui-search-bar" :class="{'weui-search-bar_focusing': !isCancel || currentValue}">
<slot name="left"></slot>
<form class="weui-search-bar__form" @submit.prevent="$emit('on-submit', value)" action=".">
<div class="vux-search-mask" @click="touch" v-show="!isFixed && autoFixed"></div>
<label :for="`search_input_${uuid}`" class="vux-search-mask" @click="touch" v-show="!isFixed && autoFixed"></label>
<div class="weui-search-bar__box">
<i class="weui-icon-search"></i>
<input type="search" class="weui-search-bar__input" :id="`search_input_${uuid}`" :placeholder="placeholder" autocomplete="off" :required="required" v-model="currentValue" ref="input"
Expand Down

0 comments on commit 439835a

Please sign in to comment.