docsifyjs / docsify

🃏 A magical documentation site generator.
https://docsify.js.org
MIT License
27.78k stars 5.68k forks source link

refactor: event modernization and optimization #2404

Closed jhildenbiddle closed 6 months ago

jhildenbiddle commented 7 months ago

Summary

The motivation for this PR is to remove/replace event handling code no longer needed for legacy browsers and to optimize event handling so that we can more easily address the many scroll-related issues for the upcoming v5 release or in a future release following v5.

No features or tests have been added or removed. All of the pre-existing tests continue to pass.

Updates to Docsify's event handling are as follows:

Included but not directly event-handling related:

NOTES:

Related issue, if any:

None

What kind of change does this PR introduce?

Bugfix Code style update Refactor

For any code change,

N/A

Does this PR introduce a breaking change?

No

Tested in the following browsers:

vercel[bot] commented 7 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
docsify-preview ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 17, 2024 8:20pm