-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Add plugin event bus mobile-keyboard-show
and mobile-keyboard-hide
#9773
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
Comments
主要是实现一个什么功能? |
楼主还在吗? |
在的 D 大。我 GitHub 上的不勤快。我去改一下代码,提供一下说明。 |
嗯,需要探讨一下使用场景。 |
直接把插件 HTML 插入到工具栏的 DOM 里面可行否? |
直接插入似乎是不行的,因为导航的出现逻辑跟工具栏正好是相反的。 |
哦哦,懂了。我们考虑下,谢谢。 |
mobile-keyboard-show
and mobile-keyboard-hide
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In what scenarios do you need this feature?
近期开发了移动端底部导航栏插件。为了优化交互效果,需要是否知道键盘是否会弹出。
Describe the optimal solution
目前思源插件已经有了 EventBus 机制,并且官方的 KeyboardToolBar 已经实现了键盘的监听效果,只需要在相关逻辑里提供对应的事件类型就可以了。不知道这个事件类型否能够提供?
Describe the candidate solution
目前我是用监听 keyboardToolBar 的显隐状态实现的这个功能。

Other information
由于近段时间刚开始加入思源笔记的开发,所以很多内容并不了解,如果有什么内容属于我自己遗漏了,还请D大和V姐见谅。
The text was updated successfully, but these errors were encountered: