www.fgks.org   »   [go: up one dir, main page]

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

uniSearchBar组件在微信小程序中报错 "hideKeyboard:fail:input not exists" #897

Open
getr00t opened this issue May 26, 2024 · 0 comments

Comments

@getr00t
Copy link
getr00t commented May 26, 2024

在微信小程序编辑器里面是看不到报错的,但是在真机上就会出现这个错误提示,这个bug,不知道是哪里的问题,搜索网上都说使用这个api“,uni.hideKeyboard()”就行,但是我试了下不行的,还是一样报错的,我是使用uniSearchBar组件来做了个输入框input,默认我开启了聚焦,加了属性‘focus’,失去焦点后触发‘blur’事件,但是在真机的微信小程序中是可以看到报错提示,input只要失去焦点就报错如下,
(in promise) MiniProgramError {"errMsg":"hideKeyboard:fail:input not exists"}
我翻看issues之前有人提到过此bug,已经关闭说修复了是微信的bug?为什么我这里没看到修复,还是一样的复现的此问题,所以这究竟是哪一方的bug?

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

No branches or pull requests

1 participant