This website requires JavaScript.
Explore
Help
Register
Sign in
LBRYCommunity
/
lbry-desktop
Watch
1
Star
0
Fork
You've already forked lbry-desktop
0
Code
Issues
596
Pull requests
6
Projects
Releases
238
Packages
Wiki
Activity
98852e7eb4
lbry-desktop
/
ui
/
constants
/
classnames.js
3 lines
93 B
JavaScript
Raw
Normal View
History
Unescape
Escape
Fix linked-comment auto scroll ## Ticket 6946: Linked-comment scroll position is inconsistent ## Issues - If it is a deeply-nested reply, the positioning is incorrect. - If there are pinned comments, the positioning is way off. - If there is a delay in mounting, the positioning doesn't happen. - When clicking on the comment's date to highlight it, the comment goes missing and the scroll position is weird. ## Changes - Take into account that replies can be linked-comments. - Perform a "one-time" search for the linked-comment after the initial fetch, if necessary. The expensive DOM search is only be executed minimally.
2021-09-01 09:55:00 +02:00
export
const
COMMENT
_HIGHLIGHTED
=
'comment--highlighted'
;
apply ody pr 463 - move MAIN_CLASS constant (#7430)
2022-01-21 18:54:22 +01:00
export
const
MAIN
_CLASS
=
'main'
;
Reference in a new issue
Copy permalink