framework/js
Alexander Skvortsov f534398645
Fix PostStream Reply Scroll (#2366)
- Add an index to reply placeholder so we can scroll to it directly when replying.
- Stop pretending that the currently broken `bottom` scroll functionality works, and explicitly call it `reply` scrolling to be clearer
- Directly get target from state
- Explicitly scroll to placeholder on reply
- Clean up scrollToItem code a bit
- Account for edge case where index is undefined when scrolling to post

Co-authored-by: Wadim Kalmykov <36057469+w-4@users.noreply.github.com>
2020-10-15 17:46:02 -04:00
..
dist Bundled output for commit 78be6e2194 [skip ci] 2020-10-15 21:41:56 +00:00
src Fix PostStream Reply Scroll (#2366) 2020-10-15 17:46:02 -04:00
.prettierrc.json Configure prettier via JSON file 2020-04-17 10:44:36 +02:00
admin.js Webpack (#1367) 2018-06-20 13:20:31 +09:30
forum.js Webpack (#1367) 2018-06-20 13:20:31 +09:30
package-lock.json npm audit security vulnerabilities patched 2020-10-14 10:11:34 +02:00
package.json npm audit security vulnerabilities patched 2020-10-14 10:11:34 +02:00
shims.d.ts Remove Mithril namespace export from shims.d.ts (#2347) 2020-10-02 19:34:06 -04:00
tsconfig.json Mithril 2 update (#2255) 2020-09-23 22:40:37 -04:00
webpack.config.js Initial TypeScript infrastructure (#2206) 2020-07-03 14:47:44 +02:00