lbry-desktop/ui
infinite-persistence e1fc5fd6e3
Fix livestream autoscroll
## Ticket
6886 Livestream auto-scroll problems

## Issue
- `performedInitialScroll` was problematic as it won't allow auto-scroll even when user scrolled back to the bottom.
- The dependence on `commentElement` seems to assume a certain comment height? Not sure.

## Approach
- Add a scroll listener and stash the last scroll position.
- When a message is received, check if it's at the bottom. If yes, maintain that position after the new comment is added. If not, leave as is.
- When submitting a comment, always reset to the bottom.
2021-08-17 09:44:38 +08:00
..
component Fix livestream autoscroll 2021-08-17 09:44:38 +08:00
constants Comment badge to reflect mod and admin status. 2021-08-16 10:08:56 +08:00
effects livestream api constant rename 2021-07-28 16:51:11 -04:00
modal Fix delete option broken / missing 2021-08-11 10:07:43 -04:00
page Fix account verification check + copy on tip page (#6884) 2021-08-13 20:40:24 -04:00
redux Commentron: min tip API now uses float again 2021-08-12 14:51:41 +08:00
scss Comment badge to reflect mod and admin status. 2021-08-16 10:08:56 +08:00
util Commentron: incorporate 'setting.Get' into 'doFetchCreatorSettings' 2021-08-12 14:51:41 +08:00
analytics.js Anthony watchman integration (#6799) 2021-08-10 16:42:50 -04:00
app.js refactor lbrytv web server 2019-11-11 13:27:29 -05:00
comments.js Commentron: incorporate 'setting.Get' into 'doFetchCreatorSettings' 2021-08-12 14:51:41 +08:00
i18n.js Revert "Simplify language lists" 2021-04-06 15:42:27 -04:00
index.jsx bugfix 2021-07-29 12:58:25 -04:00
logWarningConsoleMessage.js new lbc icon 2020-09-29 17:12:32 -04:00
native.js working 2020-12-16 10:52:22 -05:00
reducers.js wip 2021-06-08 13:25:52 -04:00
rewards.js When a new reward is acquired, only close modals if the reward comes from reward_code 2021-01-08 08:16:41 -07:00
store.js sync edited playlists 2021-08-03 11:47:54 -04:00