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

解决不能双击问题和页面不能显示滚动条问题 #226

Open
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

junguangbai
Copy link

第一次接触vscode插件的开发,项目的逻辑并不复杂,难点在于普通浏览器不具备acquireVsCodeApi()方法的调用,webview内置了这个方法,修改代码后无法调试验证,为此我尝试自己发布在marketplace,做了以下工作:

安装需要的包

npm install -g yo generator-code

安装发布工具

npm install -g vsce

8a6fcdbbab1e430ce0394628c1ceed8
到达这一步的时候创建不了发布者,再后续也没有验证功能是否修复

@junguangbai
Copy link
Author

增加画布内容高度与画布元素高度的判断,动态的改变画布元素的display属性值block或者inline

@vczc
Copy link

vczc commented Apr 4, 2023

试了你的代码 滚动条不能显示喔 答案不对喔

@r3inbowari
Copy link

Unfortunately, this is completely wrong😥. I think we need to use clickcount to simulate multiple clicks, and use CDP API Page.getLayoutMetrics to build virtual scroll(x/y).

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

Successfully merging this pull request may close these issues.

3 participants