fix(index): 修复选预设时长时页面向上跳动
input 聚焦键盘弹起时点预设,onSelectPreset 清空 customInput 触发 adjust-position 重算导致页面上跳。点预设时先失焦 input 收键盘。 Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -118,7 +118,9 @@
|
||||
type="number"
|
||||
placeholder="输入秒数"
|
||||
value="{{customInput}}"
|
||||
focus="{{pickerInputFocus}}"
|
||||
bindinput="onCustomInput"
|
||||
bindfocus="onPickerInputFocus"
|
||||
/>
|
||||
<text class="custom-label">秒</text>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user