mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 05:18:14 +08:00
a64c39835a
When the composer is opened while scrolled to the absolute bottom of the page (via hitting the "reply" button, `window.scrollTop` has a value of ~600px greater than it should. This doesn't seem to be the composer element's height (which appears to be 0 at the time). This incorrect scrollTop positions the composer off screen, which causes Safari to freak out and shake the element violently as it tries to scroll to the cursor (which is now off screen). We can get around this by calculating scrollTop ourselves. Fixes https://github.com/flarum/core/issues/2683 |
||
---|---|---|
.. | ||
dist | ||
src | ||
.prettierrc.json | ||
admin.js | ||
forum.js | ||
package-lock.json | ||
package.json | ||
shims.d.ts | ||
tsconfig.json | ||
webpack.config.js |