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

直播网页全屏弹幕框,经常会发不出弹幕 #2220

Open
u2shana opened this issue Aug 26, 2021 · 3 comments
Open

直播网页全屏弹幕框,经常会发不出弹幕 #2220

u2shana opened this issue Aug 26, 2021 · 3 comments
Labels
bug bug

Comments

@u2shana
Copy link

u2shana commented Aug 26, 2021

QQ截图20210826200318
就像这样子,左边输入了右边没有,弹幕发不出去
过一阵子或者多刷新几次有时又好了
QQ截图20210826200448
有问题的时候每输入按一下,最后两段就报一次异常

也想过是不是其他脚本冲突了,但是关了其他脚本还是有这种现象
加载模式同时延后都试过了

@the1812
Copy link
Owner

the1812 commented Aug 26, 2021

是的, 自从每次鼠标移开控制栏会被销毁后就时不时会这样, 我还在找原因

@the1812 the1812 added the bug bug label Aug 26, 2021
@indefined
Copy link

const originalTextArea = await SpinQuery.select('.chat-input-ctnr .chat-input') as HTMLTextAreaElement

可能是这里的问题,昨天调试了一下似乎是网页刚初始化时使用了一个相同selector的div作为palceholder,之后又用另一个真正的弹幕发送框替换了它,脚本有一定概率用了假的placeholder。把selector强制指定为textarea大概可以解决它,但我没有详细测试是否真的可用

      const originalTextArea = await SpinQuery.select('.chat-input-ctnr textarea.chat-input') as HTMLTextAreaElement

@the1812
Copy link
Owner

the1812 commented Oct 9, 2021

好像还是会遇到, 我还是改改初始化逻辑吧

@the1812 the1812 reopened this Oct 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug bug
Projects
None yet
Development

No branches or pull requests

3 participants