Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

XNumber在使用fillable属性时,怎么获取焦点 #2454

Closed
NolaJun opened this issue Jan 30, 2018 · 2 comments
Closed

XNumber在使用fillable属性时,怎么获取焦点 #2454

NolaJun opened this issue Jan 30, 2018 · 2 comments

Comments

@NolaJun
Copy link

NolaJun commented Jan 30, 2018

XNumber在使用fillable属性时,怎么获取焦点,

<x-number width="50px" :min="0" :max="parseFloat(goodItemDetail.sum_vnum)" :value="goodItemDetail.num" @on-Change="changeCount" fillable>
我的x-number是在popup内fixed的,在获取input焦点时,内容被软键盘挡住了,所以需要一个获取焦点的事件来进行调整,问题是XNumber好像是没有任何的事件可以调用

@airyland
Copy link
Owner

移动端无法兼容不同手机实现获取焦点,所以不支持。

@nznl
Copy link

nznl commented Aug 30, 2018

fillable可输入,安卓端,关闭软键盘后,再次输入,不弹出软键盘

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants