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

在从公共 CDN 提供第三方库的情况下,Typed.js不生效 #803

Closed
kanodaisuki opened this issue Oct 29, 2023 · 4 comments
Closed
Labels
bug Something isn't working

Comments

@kanodaisuki
Copy link
Contributor

复现

开启封面签名栏打字特效并启用从公共 CDN 提供第三方库
主题版本:2.6.3

描述

Typed.js资源能加载成功,但是没有打字效果,控制台无报错。控制台手动执行

new Typed('.element', {
    strings: ["给时光以生命,给岁月以文明", ]
})

打字效果正常出现。

在不启用从从公共 CDN 提供第三方库的情况下,打字效果正常出现。

已排除Typed.js版本问题,推测可能和这个commit有关。

@kanodaisuki kanodaisuki added the bug Something isn't working label Oct 29, 2023
@github-actions
Copy link

@kanodaisuki,感谢你给 sakurairo 提出了 issue。ヾ(≧▽≦*)o
请根据 issue 模版确保背景信息的完善,我们将调查并尽快回复你。

@KotoriK
Copy link
Collaborator

KotoriK commented Oct 30, 2023

来个网址看看

@kanodaisuki
Copy link
Contributor Author

来个网址看看

t.kanochan.net,一个临时的测试站点,会在这个问题关闭后删除。

image
image

@KotoriK
Copy link
Collaborator

KotoriK commented Oct 31, 2023

笑死写成() => resolve了
等会修

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants