-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix firefox compatibility: https://bugzilla.mozilla.org/show_bug.cg…
…i?id=1918017 by watching the event listener on `window.resize` to re-calc the `window.height - topOffset` for the `rootMargin.bottom` of intersection observer @ stores/viewportTopmostPost.ts * fix firefox compatibility by feature detecting on `Element.computedStyleMap()` with fallbacking to `.getComputedStyle()`, and replace all `Element.attributeStyleMap.set()` with old-style `.style.setProperty()` @ utils/post/renderer/list/index.ts * replace the event listener on `window.resize` with `useResizeableEcharts()` that only observer resize events of given element(s) and replace `_.throttle` with `_.debounce` with a larger waiting window @ utils/echarts.ts @ fe
- Loading branch information
Showing
4 changed files
with
59 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters