burhan-syed / troddit

A web client for Reddit with authenticated logins and a variety of browsing options
https://www.troddit.com
GNU Affero General Public License v3.0
566 stars 82 forks source link

[MAJOR REGRESSION] post and comment disappear if you press Ctrl + F (the find keyboard shortcut) #124

Closed cpuuntery closed 2 years ago

cpuuntery commented 2 years ago

before pressing Ctrl +F everything is fine

reddddit.png

after pressing Ctrl +F everything is not so fine

red.png

i think the problem originate from this js file

https://www.troddit.com/_next/static/chunks/framework.js

the classes of html header elment changes from

translate-y-0.z-50.fixed.top-0.transition.ease-in-out.transform.h-12.w-screen.duration-0

to

-translate-y-full.z-50.fixed.top-0.transition.ease-in-out.transform.h-12.w-screen.duration-500

and i tried to bebug the but i clould pinpoint the issue

redditdebug.png

and it maybe related to the recent change #118